/usr/share/osgearth/maps/boston.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 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 | <!--
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">
<image name="readymap_imagery" driver="tms">
<url>http://readymap.org/readymap/tiles/1.0.0/22/</url>
</image>
<elevation name="readymap_elevation" driver="tms">
<url>http://readymap.org/readymap/tiles/1.0.0/116/</url>
</elevation>
<feature_model name="buildings">
<features name="buildings" driver="ogr">
<url>/usr/share/osgearth/data/boston_buildings_utm19.shp</url>
<resample min_length="2.5"/>
</features>
<!--
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. tile size = max range / tile size factor.
-->
<layout tile_size="500">
<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.5;
extrusion-roof-style: building-rooftop;
altitude-clamping: terrain;
altitude-technique: map;
altitude-binding: vertex;
altitude-resolution: 0;
}
building-wall {
skin-library: us_resources;
skin-tags: building;
skin-random-seed: 1;
}
building-rooftop {
skin-library: us_resources;
skin-tags: rooftop;
skin-tiled: true;
skin-random-seed: 1;
}
</style>
</styles>
</feature_model>
<feature_model name="Streets" feature_source="streets-data">
<layout crop_features="true" tile_size="1000">
<level max_range="5000"/>
</layout>
<styles>
<style type="text/css">
default {
stroke: #ffff7f7f;
stroke-width: 7.5m;
altitude-clamping: terrain;
render-depth-offset-min-bias: 3.6;
render-transparent: true;
}
</style>
</styles>
</feature_model>
<feature_model name="streetlamps" feature_source="streets-data">
<layout tile_size="1000" crop_features="true">
<level max_range="1000" style="default"/>
</layout>
<instancing>true</instancing>
<cluster_culling>false</cluster_culling>
<styles>
<style type="text/css">
default {
model: "/usr/share/osgearth/data/streetlight.osgb";
model-script: positionAlongSegments();
model-heading: feature.properties.heading;
altitude-clamping: terrain;
}
</style>
<script language="javascript" profile="full">
<url>/usr/share/osgearth/data/scripts/createLineOffsetPoints.js</url>
</script>
</styles>
</feature_model>
<feature_model name="Parks" enabled="true">
<features name="parks" driver="ogr">
<url>/usr/share/osgearth/data/boston-parks.shp</url>
</features>
<layout tile_size="1000">
<level max_range="2000"/>
</layout>
<instancing>true</instancing>
<cluster_culling>false</cluster_culling>
<feature_indexing enabled="false"/>
<styles>
<style type="text/css">
default {
model: "/usr/share/osgearth/data/loopix/tree4.osgb";
model-scale: 0.15 + 0.1*Math.random();
model-placement: random;
model-density: 3000;
model-heading: Math.random() * 360.0;
altitude-clamping: terrain;
render-transparent: true;
render-min-alpha: 0.15;
}
</style>
</styles>
</feature_model>
<viewpoints time="1.0">
<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.64081" lat="42.364015" long="-71.054149" pitch="-9.701" range="144.95"/>
</viewpoints>
<feature_source name="streets-data" driver="ogr">
<url>/usr/share/osgearth/data/boston-scl-utm19n-meters.shp</url>
<filters>
<resample min_length="25" max_length="25"/>
</filters>
</feature_source>
</map>
|