/usr/share/osgearth/maps/splat-with-mask-layer.earth is in osgearth-data 2.9.0+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 | <!--
| Procedural trees with a mask layer.
| The mask layer prevents the trees from drawing wherever there is geometry.
-->
<map>
<options>
<terrain driver="rex"/>
</options>
<libraries>osgEarthSplat</libraries>
<xi:include href="/usr/share/osgearth/data/land_cover_dictionary.xml"/>
<land_cover name="LandCover" max_data_level="15">
<cache_policy usage="no_cache"/>
<coverages>
<coverage name="ESA GLOBCOVER" driver="gdal">
<url>H:/data/esa/GLOBCOVER_L4_200901_200912_V2.3_Ant_tiled.tif</url>
<profile>global-geodetic</profile>
<xi:include href="/usr/share/osgearth/data/land_cover_ESA_GLOBCOVER.xml"/>
<warp>0.05</warp>
</coverage>
</coverages>
</land_cover>
<elevation name="readymap_elevation" driver="tms" enabled="true">
<url>http://readymap.org/readymap/tiles/1.0.0/116/</url>
</elevation>
<splat_imagery name="Splat Imagery" land_cover_layer="LandCover">
<zones>
<zone name="default">
<surface>
<catalog>/usr/share/osgearth/data/splat/splat_catalog.xml</catalog>
</surface>
</zone>
</zones>
</splat_imagery>
<splat_groundcover name="Trees" land_cover_layer="LandCover">
<lod>13</lod>
<cast_shadows>true</cast_shadows>
<mask_layer>Boston Streets</mask_layer>
<zones>
<zone name="default">
<groundcover>
<max_distance>10000</max_distance>
<density>4.0</density>
<fill>1.0</fill>
<brightness>3.0</brightness>
<contrast>1.0</contrast>
<biomes>
<biome classes="forest urban grassland cropland">
<billboard url="/usr/share/osgearth/data/splat/pine2.png" width="12.0" height="16.0"/>
</biome>
</biomes>
</groundcover>
</zone>
</zones>
</splat_groundcover>
<!-- Setting shared="true" lets us use this as our mask layer -->
<image name="Boston Streets" driver="agglite" shared="true" min_level="10" max_data_level="17">
<warp>0</warp>
<features driver="ogr" build_spatial_index="true">
<url>/usr/share/osgearth/data/boston-scl-utm19n-meters.shp</url>
</features>
<styles>
<style type="text/css">
default {
stroke-width: 10m;
stroke-image: "/usr/share/osgearth/data/road.png";
}
</style>
</styles>
<cache_policy usage="no_cache"/>
</image>
<viewpoints>
<viewpoint name="Tree-Covered Boston">
<heading>9.95514</heading>
<pitch>-19.0589</pitch>
<range>3450.07m</range>
<long>-71.06514757538032</long>
<lat>42.35534282973394</lat>
<height>14.42520617321134</height>
<srs>+proj=longlat +ellps=WGS84 +towgs84=0,0,0,0,0,0,0 +no_defs </srs>
</viewpoint>
</viewpoints>
</map>
|