GDAL
|
generates directory with TMS tiles, KMLs and simple web viewers
gdal2tiles.py [-p profile] [-r resampling] [-s srs] [-z zoom] [-e] [-a nodata] [-v] [-h] [-k] [-n] [-u url] [-w webviewer] [-t title] [-c copyright] [-g googlekey] [-b bingkey] input_file [output_dir]
This utility generates a directory with small tiles and metadata, following the 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 web browser. You only need to upload the generated directory onto a web server.
GDAL2Tiles also creates the necessary metadata for Google Earth (KML SuperOverlay), in case the supplied map uses EPSG:4326 projection.
World files and embedded georeferencing is used during tile generation, but you can publish a picture without proper georeferencing too.
KML (Google Earth) options:
Options for generated Google Earth SuperOverlay metadata
Web viewer options:
Options for generated HTML viewers a la Google Maps
Bing Maps API key from https://www.bingmapsportal.com/
NOTE: gdal2tiles.py is a Python script that needs to be run against "new generation" Python GDAL binding.