/usr/share/osgearth/maps/feature_draped_polygons.earth is in osgearth-data 2.5.0+dfsg-2.
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 | <!--
osgEarth Sample
This one demonstrates how to read feature data from a shapefile and "drape" it
on the map using the overlay technique.
-->
<map name="Feature Overlay Demo" type="geocentric" version="2">
<options>
<lighting>false</lighting>
<overlay_blending>false</overlay_blending>
<terrain min_lod="8"/>
</options>
<image name="world" driver="gdal">
<url>/usr/share/osgearth/data/world.tif</url>
</image>
<model name="countries" driver="feature_geom">
<features name="states" driver="ogr">
<url>/usr/share/osgearth/data/world.shp</url>
<buffer distance="-0.05"/>
</features>
<styles>
<style type="text/css">
p1 {
fill: #ffff8066;
altitude-clamping: terrain-drape;
}
p2 {
fill: #80ffff66;
}
p3 {
fill: #ff80ff66;
}
p4 {
fill: #ff808066;
}
p5 {
fill: #80ff8066;
}
</style>
<selector class="p1">
<query>
<expr><![CDATA[ POP_CNTRY <= 14045470 ]]></expr>
</query>
</selector>
<selector class="p2">
<query>
<expr><![CDATA[ POP_CNTRY > 14045470 and POP_CNTRY <= 43410900 ]]></expr>
</query>
</selector>
<selector class="p3">
<query>
<expr><![CDATA[ POP_CNTRY > 43410900 and POP_CNTRY <= 97228750 ]]></expr>
</query>
</selector>
<selector class="p4">
<query>
<expr><![CDATA[ POP_CNTRY > 97228750 and POP_CNTRY <= 258833000 ]]></expr>
</query>
</selector>
<selector class="p5">
<query>
<expr><![CDATA[ POP_CNTRY > 258833000 ]]></expr>
</query>
</selector>
</styles>
</model>
</map>
|