This file is indexed.

/usr/share/osgearth/maps/feature_stencil_polygon_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
 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
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
<!--
osgEarth Sample

This one demonstrates how to read feature data from a shapefile and "drape" it
on the map using a stenciling technique. This technique is more compute-intensive
than the overlay technique, but it is much more flexible and it works in a 
whole-earth environment.

This demo loads a shapefile of the world, and colors each country based
on its population count using feature style classes.

Note the use of the XML CDATA tag in the expressions. This is only required if
you use XML special characters in the expression (in this case, the less-than
and greater-than symbols). CDATA "escapes out" of XML parsing within the CDATA
block.
-->

<map name="Feature Stencil Demo" type="geocentric" version="2">
    
    <options lighting="false"/>

    <image name="world" driver="gdal">
        <url>/usr/share/osgearth/data/world.tif</url>
    </image>
    
    <model name="countries" driver="feature_stencil">

        <!-- Configure the OGR feature driver to read the shapefile.
             Applying a slight negative buffer will "erode" the
             shapes, highlighting the borders between countries. -->
                          
        <features name="states" driver="ogr">
            <url>/usr/share/osgearth/data/world.shp</url>
            <buffer distance="-0.05"/>
        </features>
        
        <!-- Since some countries span large areas on the globe, we need to
             use a larger-than-normal extrusion distance on the stencil
             volumes. (300000 is the default for a geocentric map.) -->
             
        <extrusion_distance>400000</extrusion_distance>
        
        <!-- Define a feature style class for each category: -->
        
        <styles>
        
            <style type="text/css">
                p1 {
                   fill: #ffff80;
                   fill-opacity: 0.4;
                }       
                p2 {
                   fill: #fad155;
                   fill-opacity: 0.4;
                }   
                p3 {
                   fill: #f2a82f;
                   fill-opacity: 0.4;
                }       
                p4 {
                   fill: #b3520d;
                   fill-opacity: 0.4;
                }     
                p5 {
                   fill: #6a0000;
                   fill-opacity: 0.4;
                }                                      
            </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>