This file is indexed.

/usr/share/osgearth/maps/mapbox.earth is in osgearth-data 2.9.0+dfsg-1.

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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
<!--
Demo of MapBox's satellite, terrain and streets layers

Please change your API key to your own MapBox account, this key is for demo purposes only.
-->

<map name="MapBox" type="geocentric" version="2">


    <image name="mapbox_satellite" driver="xyz">
        <url>http://a.tiles.mapbox.com/v4/mapbox.satellite/{z}/{x}/{y}.jpg?access_token=YOUR_TOKEN_HERE</url>
        <profile>spherical-mercator</profile>
    </image>


    <elevation name="mapbox_terrain" driver="xyz" max_data_level="14">
        <url>http://api.mapbox.com/v4/mapbox.terrain-rgb/{z}/{x}/{y}.pngraw?access_token=YOUR_TOKEN_HERE</url>
        <profile>spherical-mercator</profile>
        <elevation_encoding>mapbox</elevation_encoding>
    </elevation>


    <model name="mapbox_streets" driver="feature_geom">

        <features name="mapbox_streets" driver="xyz">
            <url>http://[abcd].tiles.mapbox.com/v4/mapbox.mapbox-streets-v7/{z}/{x}/{y}.vector.pbf?access_token=YOUR_TOKEN_HERE</url>
            <!-- Change this to pick what level you want to view the mapbox data at, just keep min_level and max_level the same -->
            <min_level>15</min_level>
            <max_level>15</max_level>
            <profile>spherical-mercator</profile>
            <format>pbf</format>
            <invert_y>true</invert_y>
        </features>


        <instancing>true</instancing>

        <feature_indexing enabled="true"></feature_indexing>

        <styles>

            <library name="us_resources">
                <url>/usr/share/osgearth/data/resources/textures_us/catalog.xml</url>
            </library>

            <style type="text/css">
                hospital {
                     icon: "/usr/share/osgearth/data/hospital.png";
                     icon-align:    center-center;
                     icon-declutter: true;
                     text-content:  getName();
                     altitude-clamping:       terrain;
                     altitude-resolution: 0.001;
                }

                school {
                     icon: "/usr/share/osgearth/data/school.png";
                     icon-align:    center-center;
                     icon-declutter: true;
                     text-content:  getName();
                     altitude-clamping:       terrain;
                     altitude-resolution: 0.001;
                }

                bank {
                     icon: "/usr/share/osgearth/data/bank.png";
                     icon-align:    center-center;
                     icon-declutter: true;
                     text-content:  getName();
                     altitude-clamping:       terrain;
                     altitude-resolution: 0.001;
                }

                forest {
                   model:               "/usr/share/osgearth/data/tree.ive";
                   model-placement:     random;
                   model-density:       10000;
                   model-scale:         2.5;
                   model-random-seed:   1;
                   altitude-clamping:       terrain;
                   altitude-resolution: 0.001;
                }

                grass {
                   model:               "/usr/share/osgearth/data/tree.ive";
                   model-placement:     random;
                   model-density:       10000;
                   model-scale:         2.5;
                   model-random-seed:   1;
                   altitude-clamping:       terrain;
                   altitude-resolution: 0.001;
                }

                water {
                   fill:               #6BA8FF;
                   render-depth-test:  false;
                   altitude-clamping:  terrain-drape;
                }

                buildings {
                  extrusion-height:      getBuildingHeight();
                  extrusion-flatten:     true;
                  extrusion-wall-style:  building-wall;
                  extrusion-roof-style:  building-rooftop;
                  altitude-clamping:     terrain;
                  altitude-resolution: 0.001;
                }

                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;
                }

                roads {
                  stroke:             #656363;
                  stroke-width:       5m;
                  altitude-clamping:  terrain-drape;
                  stroke-tessellation-size: 5m;
                  render-order: 100;
                }

            </style>

            <selector name="default" style_expr="selectStyle()"/>

            <script language="javascript">
              <![CDATA[

                function selectStyle() {

                    var layer = feature.properties["mvt_layer"];
                    if (layer === "building") return "buildings";
                    if (layer === "water") return "water";
                    if (layer === "road") return "roads";
                    if (layer === "landuse") {
                         var cls = feature.properties["class"];
                         if (cls === "grass") {
                             return "forest";
                         }
                         else if (cls === "wood") {
                             return "forest";
                         }
                    }
                    return null;
                }

                function getName() {
                    if ("name" in feature.properties) {
                        return feature.properties["name"];
                    }
                    return "";
                }

                function getBuildingHeight() {
                    return feature.properties["height"];
                }
              ]]>
            </script>

        </styles>
    </model>





    <xi:include href="viewpoints.xml"/>

</map>