/usr/share/osgearth/maps/boston.earth is in osgearth-data 2.4.0+dfsg-6.
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 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 | <!--
osgEarth Sample.
Demonstrates the use of a Resource Library in order to apply "typical" textures
to extruded buildings.
-->
<map name="Boston Demo" type="geocentric" version="2">
<options>
<terrain sample_ratio="0.25" lighting="true"/>
</options>
<image name="mapquest_open_aerial" driver="xyz" enabled="false">
<url>http://oatile[1234].mqcdn.com/tiles/1.0.0/sat/{z}/{x}/{y}.jpg</url>
<profile>spherical-mercator</profile>
<cache_policy usage="no_cache"/>
<nodata_image>http://oatile3.mqcdn.com/tiles/1.0.0/sat/13/636/6210.jpg</nodata_image>
</image>
<image name="readymap_imagery" driver="tms">
<url>http://readymap.org/readymap/tiles/1.0.0/22/</url>
<color_filters>
<gamma rgb="1.3"/>
</color_filters>
</image>
<elevation name="readymap_elevation" driver="tms">
<url>http://readymap.org/readymap/tiles/1.0.0/9/</url>
</elevation>
<model name="buildings" driver="feature_geom">
<features name="buildings" driver="ogr">
<url>/usr/share/osgearth/data/boston_buildings_utm19.shp</url>
<build_spatial_index>true</build_spatial_index>
</features>
<feature_indexing/>
<!--
<fading
duration="1.0"
max_range="20000"
attenuation_distance="2000"/>
-->
<!--
The "layout" element activates tiling and paging of the feature set. If you
omit the layout element, the entire feature set will render as one pre-loaded
model (no tiling or paging).
Each "level" is a level of detail for features, and should select a style
to use for that level. It also can specify min and max camera ranges,
in meters.
The "tile size factor" controls how a feature is tiled. The higher this factor,
the smaller the tile size, and the more tiles will be used to render a given
level of detail. The default is 15. (The renderer multiplies a tile's radius
by the tile_size_factor to calculate the maximum suitable camera range for
a given level of subdivision. It compares this to the feature level's max
range to decide how many tiles to create.)
-->
<layout tile_size_factor="52">
<level name="default" max_range="20000" style="buildings"/>
</layout>
<styles>
<library name="us_resources">
<url>/usr/share/osgearth/data/resources/textures_us/catalog.xml</url>
</library>
<style type="text/css">
buildings {
extrusion-height: 3.5 * max([story_ht_], 1);
extrusion-flatten: true;
extrusion-wall-style: building-wall;
extrusion-wall-gradient: 0.8;
extrusion-roof-style: building-rooftop;
altitude-clamping: terrain;
altitude-technique: map;
altitude-binding: vertex;
//altitude-resolution: 0.001;
}
building-wall {
skin-library: us_resources;
skin-tags: building;
skin-random-seed: 1;
fill: #ffffff;
}
building-rooftop {
skin-library: us_resources;
skin-tags: rooftop;
skin-tiled: true;
skin-random-seed: 1;
fill: #ffffff;
}
</style>
</styles>
</model>
<model name="Streets" driver="feature_geom" enabled="true">
<features name="streets" driver="ogr" build_spatial_index="true">
<url>/usr/share/osgearth/data/boston-scl-utm19n-meters.shp</url>
<resample max_length="25"/>
</features>
<!--
<fading max_range="3500"/>
-->
<layout crop_features="true" tile_size_factor="7.5">
<level max_range="5000"/>
</layout>
<styles>
<style type="text/css">
streets {
stroke: #ffff007f;
stroke-width: 7.5m;
altitude-clamping: terrain;
altitude-technique: gpu;
render-depth-offset-min-bias: 10;
}
</style>
</styles>
</model>
<model name="Parks" driver="feature_geom" enabled="true">
<features name="parks" driver="ogr" build_spatial_index="true">
<url>/usr/share/osgearth/data/boston-parks.shp</url>
</features>
<layout tile_size_factor="3.5">
<level max_range="3500"/>
</layout>
<instancing>true</instancing>
<styles>
<style type="text/css">
parks {
model: "/usr/share/osgearth/data/tree.ive";
model-placement: random;
model-density: 4000;
model-scale: 1.0;
altitude-clamping: terrain;
altitude-technique: map;
altitude-resolution: 0.001;
}
</style>
</styles>
</model>
<external>
<viewpoints>
<viewpoint name="Boston Overview" heading="24.261" height="0" lat="42.34425" long="-71.076262" pitch="-21.6" range="3450"/>
<viewpoint name="Boston Downtown 1" heading="117" lat="42.3568" long="-71.0585" height="0" pitch="-20.4" range="1500" />
<viewpoint name="Boston Downtown 2" heading="-128.5" lat="42.3582" long="-71.0546" height="0" pitch="-19" range="1620" />
<viewpoint name="Boston Street Level" heading="-145.85" lat="42.36460" long="-71.053612" pitch="-10.1" range="85.034"/>
</viewpoints>
<sky hours="14.0"/>
</external>
</map>
|