1gdal2tiles(1)               General Commands Manual              gdal2tiles(1)
2
3
4

NAME

6       gdal2tilesGenerates directory with TMS tiles, KMLs and simple web
7       viewers.
8

SYNOPSIS

10       gdal2tiles.py [-p profile] [-r resampling] [-s srs] [-z zoom]
11                     [-e] [-a nodata] [-v] [-q] [-h] [-k] [-n] [-u url]
12                     [-w webviewer] [-t title] [-c copyright]
13                     [--processes=NB_PROCESSES]
14                     [-g googlekey] [-b bingkey] input_file [output_dir]
15

DESCRIPTION

17       This utility generates a directory with small tiles and metadata,
18       following the OSGeo Tile Map Service Specification. Simple web pages
19       with viewers based on Google Maps, OpenLayers and Leaflet are generated
20       as well - so anybody can comfortably explore your maps on-line and you
21       do not need to install or configure any special software (like
22       MapServer) and the map displays very fast in the web browser. You only
23       need to upload the generated directory onto a web server.
24
25       GDAL2Tiles also creates the necessary metadata for Google Earth (KML
26       SuperOverlay), in case the supplied map uses EPSG:4326 projection.
27
28       World files and embedded georeferencing is used during tile generation,
29       but you can publish a picture without proper georeferencing too.
30
31       -p PROFILE, --profile=PROFILE:
32           Tile cutting profile (mercator,geodetic,raster) - default
33           'mercator' (Google Maps compatible).
34
35       -r RESAMPLING, --resampling=RESAMPLING:
36           Resampling method
37           (average,near,bilinear,cubic,cubicspline,lanczos,antialias) -
38           default 'average'.
39
40       -s SRS, --s_srs=SRS:
41           The spatial reference system used for the source input data.
42
43       -z ZOOM, --zoom=ZOOM:
44           Zoom levels to render (format:'2-5' or '10').
45
46       -e, --resume:
47           Resume mode. Generate only missing files.
48
49       -a NODATA, --srcnodata=NODATA:
50           NODATA transparency value to assign to the input data.
51
52       -v, --verbose
53           Generate verbose output of tile generation.
54
55       -q, --quiet
56           Disable messages and status to stdout (GDAL >= 2.1).
57
58       --processes=NB_PROCESSES
59           Number of processes to use for tiling (GDAL >= 2.3).
60
61       -h, --help
62           Show help message and exit.
63
64       --version
65           Show program's version number and exit.
66
67       KML (Google Earth) options:
68
69       Options for generated Google Earth SuperOverlay metadata
70
71       -k, --force-kml
72           Generate KML for Google Earth - default for 'geodetic' profile and
73           'raster' in EPSG:4326. For a dataset with different projection use
74           with caution!
75
76       -n, --no-kml:
77           Avoid automatic generation of KML files for EPSG:4326.
78
79       -u URL, --url=URL:
80           URL address where the generated tiles are going to be published.
81
82       Web viewer options:
83
84       Options for generated HTML viewers a la Google Maps
85
86       -w WEBVIEWER, --webviewer=WEBVIEWER:
87           Web viewer to generate (all,google,openlayers,leaflet,none) -
88           default 'all'.
89
90       -t TITLE, --title=TITLE:
91           Title of the map.
92
93       -c COPYRIGHT, --copyright=COPYRIGHT:
94           Copyright for the map.
95
96       -g GOOGLEKEY, --googlekey=GOOGLEKEY:
97           Google Maps API key from
98           http://code.google.com/apis/maps/signup.html.
99
100       -b BINGKEY, --bingkey=BINGKEY:
101           Bing Maps API key from https://www.bingmapsportal.com/
102
103       NOTE: gdal2tiles.py is a Python script that needs to be run against
104       'new generation' Python GDAL binding.
105

AUTHORS

107       Klokan Petr Pridal klokan@klokan.cz as a Google SoC 2007 Project.
108
109
110
111GDAL                            Tue Mar 3 2020                   gdal2tiles(1)
Impressum