/usr/share/osgearth/maps/feature_stencil_line_draping.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 | <!--
osgEarth Sample
This one demonstrates how to "drape" line data on the map using a
stenciling technique.
NOTE: Draping lines with the feature_stencil driver requires that you
build osgEarth with GEOS support.
-->
<map name="Feature Stencil Demo" type="round" version="2">
<options lighting="false"/>
<image name="world" driver="gdal">
<url>/usr/share/osgearth/data/world.tif</url>
</image>
<model name="states" driver="feature_stencil">
<!-- Configure the OGR feature driver to read the shapefile.
Convert the goemetry to lines, and apply a small buffer
to give the lines thickness. -->
<features name="world" driver="ogr">
<url>/usr/share/osgearth/data/world.shp</url>
<convert type="line"/>
</features>
<!-- This driver uses the "stroke-width" property below to define
the width (in data source coordinated) of the draped lines.
In this case the units are degrees. -->
<styles>
<style type="text/css">
world {
stroke: #ffff00;
stroke-opacity: 0.5;
stroke-width: 0.1;
}
</style>
</styles>
</model>
</map>
|