/usr/share/osgearth/maps/feature_inline.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 | <!--
osgEarth Sample
This demonstrates how to use the OGR feature driver to define inline feature geometry.
You can define an inline geometry in WKT format.
* See: http://en.wikipedia.org/wiki/Well-known_text#Geometric_objects
Notice the different interpolation types for each layer, and the difference in the
display. The options are:
"rhumb_line" - maintains a constant bearing between two points (default), or
"great_circle" - takes the shortest elliptical distance between two points.
-->
<map name="Feature Geometry Demo" type="geocentric" version="2">
<options>
<lighting>false</lighting>
</options>
<image name="world" driver="gdal">
<url>/usr/share/osgearth/data/world.tif</url>
</image>
<model name="great_circle" driver="feature_geom" overlay="true">
<features driver="ogr">
<geometry>
POLYGON((-120 30, -120 50, -70 50, -70 30))
</geometry>
</features>
<geo_interpolation>great_circle</geo_interpolation>
<styles>
<style type="text/css">
default {
fill: #ffff006f;
}
</style>
</styles>
</model>
<model name="rhumb_line" driver="feature_geom" overlay="true">
<features driver="ogr">
<geometry>
POLYGON((-68 30, -68 50, -20 50, -20 30))
</geometry>
</features>
<geo_interpolation>rhumb_line</geo_interpolation>
<styles>
<style type="text/css">
default {
fill: #ff00ff6f;
}
</style>
</styles>
</model>
</map>
|