~ubuntu-branches/debian/sid/osgearth/sid

« back to all changes in this revision

Viewing changes to tests/datum_override.earth

  • Committer: Bazaar Package Importer
  • Author(s): Pirmin Kalberer
  • Date: 2011-07-14 22:13:36 UTC
  • Revision ID: james.westby@ubuntu.com-20110714221336-94igk9rskxveh794
Tags: upstream-2.0+dfsg
ImportĀ upstreamĀ versionĀ 2.0+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!--
 
2
osgEarth Sample
 
3
 
 
4
This example demonstrates how to set a particular datum for a geocentric map.
 
5
By default, a geocentric map will use a WGS84 datum. Use the "profile" tag
 
6
to specify a different one is so desired. The contents of the "srs" tag can be
 
7
any SRS initialization string (like PROJ4 or WKT).
 
8
 
 
9
This example renders a NAD27 globe instead of a WGS84 globe.
 
10
 
 
11
See this site for SRS codes and PROJ4 initialization strings:
 
12
http://spatialreference.org
 
13
-->
 
14
 
 
15
<map name="datum override example" type="geocentric" version="2">
 
16
    
 
17
    <options>
 
18
        <lighting>false</lighting>
 
19
        <profile srs="+proj=longlat +ellps=clrk66 +datum=NAD27 +no_defs"/>
 
20
    </options> 
 
21
    
 
22
    <image name="pelican nasa blue marble" driver="tms">
 
23
        <url>http://demo.pelicanmapping.com/rmweb/data/bluemarble-tms/tms.xml</url>
 
24
    </image>
 
25
</map>