/usr/share/osgearth/maps/feature_extrude.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 | <!--
osgEarth Sample
Footprint Extrusion using the "feature_geom" driver.
-->
<map name="Extrusion Demo" type="geocentric" version="2">
<!-- Our features layer. The "feature_geom" driver will analyze the
style sheet and determine how to render the feature data. -->
<model name="buildings" driver="feature_geom">
<!-- Feature data set to load. This is a set of polygons representing
some buildings in Washington DC -->
<features name="buildings" driver="ogr">
<url>/usr/share/osgearth/data/dcbuildings.shp</url>
<build_spatial_index>true</build_spatial_index>
</features>
<!-- The stylesheet will describe how to render the feature data. -->
<styles>
<style type="text/css">
buildings {
fill: #ff7f2f;
extrusion-height: 15;
extrusion-flatten: true;
extrusion-wall-gradient: 0.7;
altitude-clamping: terrain;
altitude-resolution: 0.001;
}
</style>
</styles>
<lighting>true</lighting>
</model>
<options>
<lighting>false</lighting>
<terrain>
<sample_ratio>0.2</sample_ratio>
</terrain>
</options>
<image name="ReadyMap.org - Imagery" driver="tms">
<url>http://readymap.org/readymap/tiles/1.0.0/7/</url>
</image>
<elevation name="ReadyMap.org - Elevation" driver="tms">
<url>http://readymap.org/readymap/tiles/1.0.0/9/</url>
</elevation>
<external>
<viewpoint name="Zoom to Buildings" heading="12.4" lat="38.8982" long="-77.0365" height="20.67" pitch="-51.4" range="4500" />
<sky hours="21.0"/>
</external>
</map>
|