forked from gwaldron/osgearth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfeature_tfs.earth
41 lines (33 loc) · 1.35 KB
/
feature_tfs.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
36
37
38
39
40
41
<!--
osgEarth Sample - TFS
This example shows how to use the TFS driver.
-->
<map name="TFS" type="geocentric" version="2">
<model name="buildings" driver="feature_geom">
<features name="buildings" driver="tfs">
<url>http://readymap.org/readymap/features/tfs/4/</url>
<format>json</format>
</features>
<layout>
<tile_size_factor>5.0</tile_size_factor>
</layout>
<styles>
<style type="text/css">
buildings {
extrusion-height: Math.random()*30.0 + 5.0;
extrusion-flatten: true;
fill: #ff7f2f;
stroke: #6f2f0f;
altitude-clamping: terrain;
}
</style>
</styles>
</model>
<image name="esri imagery" driver="arcgis">
<url>http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_Imagery_World_2D/MapServer</url>
<nodata_image>http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_Imagery_World_2D/MapServer/tile/100/0/0.jpeg</nodata_image>
</image>
<viewpoints>
<viewpoint name="Mexico Buildings" height="0" lat="19.42" long="-99.163" pitch="-89" range="5000"/>
</viewpoints>
</map>