/usr/share/osgearth/maps/boston_buildings.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 | <!--
osgEarth Sample.
Same as the boston.earth example only it excludes certain buildings
from being rendered so we can replace them with geospecific models.
Run this example with:
osgearth_viewer boston_buildings.earth --kml /usr/share/osgearth/data/BostonBuildings.kmz
..to see the hand modeled buildings.
-->
<map name="Boston Demo" type="geocentric" version="2">
<image name="ReadyMap.org - Imagery" driver="tms">
<url>http://readymap.org/readymap/tiles/1.0.0/22/</url>
</image>
<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>
<layout>
<tile_size_factor>45</tile_size_factor>
<level name="default" max_range="20000">
<selector class="buildings"/>
</level>
</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-roof-style: building-rooftop;
altitude-clamping: none;
}
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>
<!--Exclude certain buildings from being rendered b/c they will be replaced with geospecific buildings -->
<selector class="buildings">
<query>
<expr><![CDATA[ OBJECTID_1 <> 91506 and OBJECTID_1 <> 12921 and OBJECTID_1 <> 11460 and OBJECTID_1 <> 11474 and OBJECTID_1 <> 11471 and OBJECTID_1 <> 11439 and OBJECTID_1 <> 11432 and OBJECTID_1 <> 91499 and OBJECTID_1 <> 10878 ]]> </expr>
</query>
</selector>
</styles>
<lighting>true</lighting>
</model>
<options>
<lighting>false</lighting>
</options>
<external>
<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"/>
<sky hours="21.0"/>
</external>
</map>
|