forked from gwaldron/osgearth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfeature_rasterize.earth
35 lines (27 loc) · 941 Bytes
/
feature_rasterize.earth
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
<!--
osgEarth Sample
Demonstrates use of the "agglite" feature rasterization driver.
-->
<map name="Geometry Rasterizer Demo" type="round" version="2">
<image name="world" driver="gdal">
<url>../data/world.tif</url>
<cache_policy usage="no_cache"/>
</image>
<image name="world_boundaries" driver="agglite" opacity="0.5">
<!-- Configure the OGR feature driver to read the shapefile. -->
<features name="world" driver="ogr">
<url>../data/world.shp</url>
<build_spatial_index>true</build_spatial_index>
</features>
<styles>
<style type="text/css">
default {
fill: #ff7700;
stroke: #ffff00;
stroke-width: 1px;
}
</style>
</styles>
<cache_policy usage="no_cache"/>
</image>
</map>