mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-19 04:52:12 +01:00
LP-32 add more earth files (mapquest, bing)
bing does not work well
This commit is contained in:
parent
5b8ed2a044
commit
b2abe1c265
@ -209,6 +209,7 @@ osgearth:win32 {
|
||||
mingw_osgdb_osgearth_engine_mp$${DS}.dll \
|
||||
mingw_osgdb_osgearth_sky_simple$${DS}.dll \
|
||||
mingw_osgdb_osgearth_tms$${DS}.dll \
|
||||
mingw_osgdb_osgearth_xyz$${DS}.dll \
|
||||
mingw_osgdb_osgearth_cache_filesystem$${DS}.dll
|
||||
|
||||
osgearth_extra:OSGEARTH_PLUGINS += \
|
||||
|
23
ground/gcs/src/share/osgearth/bing.earth
Normal file
23
ground/gcs/src/share/osgearth/bing.earth
Normal file
@ -0,0 +1,23 @@
|
||||
<!--
|
||||
Mircosoft Bing Maps example.
|
||||
|
||||
Usage of Bing Maps requires a key. Get a key here:
|
||||
http://www.bing.com/developers/
|
||||
|
||||
Bing Maps Terms of Service:
|
||||
http://www.microsoft.com/maps/product/terms.html
|
||||
|
||||
Supported imagery sets are Aerial, AerialWithLabels, and Road.
|
||||
-->
|
||||
|
||||
<map>
|
||||
<options>
|
||||
<!--overlay_resolution_ratio="1.0"/-->
|
||||
<terrain first_lod="0" min_lod="20" />
|
||||
</options>
|
||||
|
||||
<image name="bing" driver="bing">
|
||||
<key>As489Vq5Fma4_GfQvtBzpPgXqJFjB3v0ZNMICy7wDVDMeBZyK2PqH2_tYLfBhpKT</key>
|
||||
<imagery_set>AerialWithLabels</imagery_set>
|
||||
</image>
|
||||
</map>
|
25
ground/gcs/src/share/osgearth/mapquest_open_aerial.earth
Normal file
25
ground/gcs/src/share/osgearth/mapquest_open_aerial.earth
Normal file
@ -0,0 +1,25 @@
|
||||
<!--
|
||||
MapQuest - Open Aerial Map
|
||||
LOD 1-12 worldwide; 12+ US-only.
|
||||
http://developer.mapquest.com/web/products/open/map
|
||||
|
||||
NOTE: You are responsible for abiding by the provider's terms of service:
|
||||
http://developer.mapquest.com/web/info/terms-of-use
|
||||
|
||||
TIP: set your OSG_NUM_HTTP_DATABASE_THREADS to 4 or more!
|
||||
-->
|
||||
|
||||
<map name="MapQuest Open Aerial" type="geocentric" version="2">
|
||||
|
||||
<image name="mapquest_open_aerial" driver="xyz">
|
||||
<url>http://oatile[1234].mqcdn.com/tiles/1.0.0/sat/{z}/{x}/{y}.jpg</url>
|
||||
<profile>spherical-mercator</profile>
|
||||
<cache_policy usage="no_cache"/>
|
||||
<nodata_image>http://oatile3.mqcdn.com/tiles/1.0.0/sat/13/636/6210.jpg</nodata_image>
|
||||
</image>
|
||||
|
||||
<options>
|
||||
<lighting>false</lighting>
|
||||
</options>
|
||||
|
||||
</map>
|
22
ground/gcs/src/share/osgearth/mapquest_osm.earth
Normal file
22
ground/gcs/src/share/osgearth/mapquest_osm.earth
Normal file
@ -0,0 +1,22 @@
|
||||
<!--
|
||||
MapQuest - OpenStreetMap
|
||||
http://developer.mapquest.com/web/products/open/map
|
||||
|
||||
NOTE: You are responsible for abiding by the provider's terms of service:
|
||||
http://developer.mapquest.com/web/info/terms-of-use
|
||||
|
||||
TIP: set your OSG_NUM_HTTP_DATABASE_THREADS to 4 or more!
|
||||
-->
|
||||
|
||||
<map name="MapQuest OpenStreetMap" type="geocenwwtric" version="2">
|
||||
|
||||
<image name="mapquest_osm" driver="xyz">
|
||||
<url>http://otile[1234].mqcdn.com/tiles/1.0.0/osm/{z}/{x}/{y}.jpg</url>
|
||||
<profile>global-mercator</profile>
|
||||
</image>
|
||||
|
||||
<elevation name="ReadyMap.org - Elevation" driver="tms">
|
||||
<url>http://readymap.org/readymap/tiles/1.0.0/9/</url>
|
||||
</elevation>
|
||||
|
||||
</map>
|
Loading…
x
Reference in New Issue
Block a user