NAMEgdal2tiles - gdal2tiles.py generates directory with TMS tiles, KMLs and simple web viewers
SYNOPSISgdal2tiles.py [-title "Title"] [-publishurl //yourserver/dir/] [-nogooglemaps] [-noopenlayers] [-nokml] [-googlemapskey KEY] [-forcekml] [-v] input_file [output_dir]
DESCRIPTIONThis utility generates a directory with small tiles and metadata, following OSGeo Tile Map Service Specification. Simple web pages 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 web server. GDAL2Tiles creates also necessary metadata for Google Earth (KML SuperOverlay), in case the supplied map uses EPSG:4326 projection. World files and embedded georeference is used during tile generation, but you can publish a picture without proper georeference too. -title 'Title': Title used for generated metadata, web viewers and KML files. -publishurl //yourserver/dir/: Address of a directory into which you are going to upload the result. It should end with slash. -nogooglemaps: Do not generate Google Maps based html page. -noopenlayers: Do not generate OpenLayers based html page. -nokml: Do not generate KML files for Google Earth. -googlemapskey KEY: Key for your domain generated on Google Maps API web page (//www.google.com/apis/maps/signup.html). -forcekml Force generating of KML files. Input file must use EPSG:4326 coordinates! -v Generate verbose output of tile generation. NOTE: gdal2tiles.py is a Python script that needs to be run against 'new generation' Python GDAL binding.
AUTHORSKlokan Petr Pridal <firstname.lastname@example.org> as a Google SoC 2007 Project. GDAL2TILES(1)