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

« back to all changes in this revision

Viewing changes to tests/openstreetmap.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
OpenStreetMap's Mapnik "Slippy Map"
 
3
 
 
4
This is an example of using the TMS driver when there is no TMS
 
5
TileMap config available on the server. We have to manually specify:
 
6
 
 
7
 * The map's profile
 
8
 * The image source's format, tile_width, and tile_height
 
9
 
 
10
In this case, we also specify the "google" tms_type, which will
 
11
invert the Y tile index.
 
12
-->
 
13
 
 
14
<map name="OpenStreetMap" type="geocentric" version="2">
 
15
 
 
16
    <image name="OSM on Mapnik Slippy Map" driver="tms">
 
17
        <url>http://tile.openstreetmap.org/</url>
 
18
        <profile>global-mercator</profile>
 
19
        <format>png</format>
 
20
        <tile_size>256</tile_size>
 
21
        <tms_type>google</tms_type>
 
22
    </image>
 
23
    
 
24
    <options>
 
25
        <lighting>false</lighting>
 
26
        <terrain>
 
27
            <loading_policy mode="preemptive"/>
 
28
            <min_tile_range_factor>8</min_tile_range_factor>
 
29
        </terrain>
 
30
    </options>
 
31
    
 
32
</map>