1gdal2tiles(1) General Commands Manual gdal2tiles(1)
2
3
4
6 gdal2tiles - .TH "gdal2tiles" 1 "Fri Apr 22 2011" "GDAL"
7
9 gdal2tiles - generates directory with TMS tiles, KMLs and simple web
10 viewers
11
13 gdal2tiles.py [-title "Title"] [-publishurl http://yourserver/dir/]
14 [-nogooglemaps] [-noopenlayers] [-nokml]
15 [-googlemapskey KEY] [-forcekml] [-v]
16 input_file [output_dir]
17
19 This utility generates a directory with small tiles and metadata,
20 following OSGeo Tile Map Service Specification. Simple web pages with
21 viewers based on Google Maps and OpenLayers are generated as well - so
22 anybody can comfortably explore your maps on-line and you do not need
23 to install or configure any special software (like mapserver) and the
24 map displays very fast in the webbrowser. You only need to upload
25 generated directory into a web server.
26
27 GDAL2Tiles creates also necessary metadata for Google Earth (KML
28 SuperOverlay), in case the supplied map uses EPSG:4326 projection.
29
30 World files and embedded georeference is used during tile generation,
31 but you can publish a picture without proper georeference too.
32
33 -title 'Title':
34 Title used for generated metadata, web viewers and KML files.
35
36 -publishurl http://yourserver/dir/:
37 Address of a directory into which you are going to upload the
38 result. It should end with slash.
39
40 -nogooglemaps:
41 Do not generate Google Maps based html page.
42
43 -noopenlayers:
44 Do not generate OpenLayers based html page.
45
46 -nokml:
47 Do not generate KML files for Google Earth.
48
49 -googlemapskey KEY:
50 Key for your domain generated on Google Maps API web page
51 (http://www.google.com/apis/maps/signup.html).
52
53 -forcekml
54 Force generating of KML files. Input file must use EPSG:4326
55 coordinates!
56
57 -v Generate verbose output of tile generation.
58
59 NOTE: gdal2tiles.py is a Python script that needs to be run against
60 'new generation' Python GDAL binding.
61
63 Klokan Petr Pridal <klokan@klokan.cz> as a Google SoC 2007 Project.
64
65
66
67GDAL Fri Apr 22 2011 gdal2tiles(1)