Skip to content

Commit 169de3a

Browse files
committed
Aster DEM
1 parent 71ff101 commit 169de3a

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

src/plugins/globe/globe.earth

+9-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<map name="QGIS Map" type="geocentric">
22

3+
<loading_policy mode="preemptive"/>
4+
35
<image name="world" driver="gdal">
4-
<url>/home/pi/devel/gis/osgearth/data/world.tif</url>
6+
<url>/usr/share/osgearth/data/world.tif</url>
57
</image>
68

79
<!--
@@ -13,17 +15,22 @@
1315
</image>
1416
-->
1517

18+
<!--
1619
<heightfield name="pelican srtm" driver="tms">
1720
<url>http://demo.pelicanmapping.com/rmweb/data/srtm30_plus_tms/tms.xml</url>
1821
</heightfield>
22+
-->
1923
<!--
2024
<heightfield name="WorldWind bil" driver="worldwind">
2125
<worldwind_cache>worldwind_SRTM</worldwind_cache>
2226
</heightfield>
2327
-->
28+
<heightfield name="aster_dem" driver="gdal">
29+
<url>/home/pi/data/geodata/Lech/ASTGTM_N47E010/ASTGTM_N47E010_dem.tif</url>
30+
</heightfield>
2431

25-
<vertical_scale>2</vertical_scale>
2632
<!--
33+
<vertical_scale>2</vertical_scale>
2734
<sample_ratio>0.25</sample_ratio>
2835
-->
2936
</map>

src/plugins/globe/globe_plugin.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ static osgEarthUtil::Viewpoint VPs[] = {
5252
osgEarthUtil::Viewpoint( "Africa", osg::Vec3d( 0.0, 0.0, 0.0 ), 0.0, -90.0, 10e6 ),
5353
osgEarthUtil::Viewpoint( "California", osg::Vec3d( -121.0, 34.0, 0.0 ), 0.0, -90.0, 6e6 ),
5454
osgEarthUtil::Viewpoint( "Europe", osg::Vec3d( 0.0, 45.0, 0.0 ), 0.0, -90.0, 4e6 ),
55-
osgEarthUtil::Viewpoint( "Washington DC", osg::Vec3d( -77.0, 38.0, 0.0 ), 0.0, -90.0, 1e6 ),
55+
osgEarthUtil::Viewpoint( "Lech", osg::Vec3d( 10.14, 47.21, 0.0 ), 0.0, -90.0, 1e4 ),
5656
osgEarthUtil::Viewpoint( "Australia", osg::Vec3d( 135.0, -20.0, 0.0 ), 0.0, -90.0, 2e6 )
5757
};
5858

0 commit comments

Comments
 (0)