Changes between Version 3 and Version 4 of UserDocs/Gdal2Tiles


Ignore:
Timestamp:
Jun 1, 2023, 8:26:19 AM (11 months ago)
Author:
dbaston
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UserDocs/Gdal2Tiles

    v3 v4  
    33== Manual page for gdal2tiles.py ==
    44
    5 ''NOTE: This manual page should be available soon on http://www.gdal.org/gdal2tiles.html''
    6 
    7 generates directory with TMS tiles, KMLs and simple web viewers
    8 
    9 Usage:
    10 
    11 {{{
    12 gdal2tiles.py [-title "Title"] [-publishurl http://yourserver/dir/]
    13               [-nogooglemaps] [-noopenlayers] [-nokml]
    14               [-googlemapskey KEY] [-forcekml] [-v]
    15               input_file [output_dir]
    16 }}}
    17 
    18 This utility generates a directory with small tiles and metadata, following OSGeo Tile Map Service Specification. Simple webpages with viewers based on Google Maps and OpenLayers are generated as well - so anybody can comfortably explore your maps on-line and you do not need to install or configure any special software (like mapserver) and the map displays very fast in the webbrowser. You only need to upload generated directory into a webserver.
    19 
    20 GDAL2Tiles creates also necessary metadata for Google Earth (KML SuperOverlay), in case the supplied map uses EPSG:4326 projection.
    21 
    22 World files and embeded georeference is used during tile generation, but you can publish a picture without proper georeference too.
    23 
    24 ''All parameters are optional, but input_file. If output_dir is not specified then input_file without extension is used.''
    25 
    26 -title "Title":
    27     Title used for generated metadata, web viewers and KML files.
    28 -publishurl http://yourserver/dir/:
    29     Address of a directory into which you are going to upload the result. It should end with slash.
    30 -nogooglemaps:
    31     Do not generate Google Maps based html page.
    32 -noopenlayers:
    33     Do not generate OpenLayers based html page.
    34 -nokml:
    35     Do not generate KML files for Google Earth.
    36 -googlemapskey KEY:
    37     Key for your domain generated on Google Maps API webpage (http://www.google.com/apis/maps/signup.html).
    38 -forcekml:
    39     Force generating of KML files. Input file must use EPSG:4326 coordinates!
    40 -v:
    41     Generate verbose output of tile generation.
    42 
    43 NOTE: gdal2tiles.py is a Python script, and will only work if GDAL was built with Python support.
     5''NOTE: This manual page is available at http://www.gdal.org/gdal2tiles.html''
    446
    457== Usage tips and FAQ ==