gdaltools.tiles

GDAL Merge

Classes

Bool(**metadata[, default_value]) Defines a trait whose value must be a Python boolean using a C-level
Directory(**metadata[, value, auto_set, ...]) Defines a trait whose value must be the name of a directory using a
DirectoryEditor2(*args, **traits) Custom directory Editor Factory using SimpledirectoryEditor2
Enum(*args, **metadata) Defines a trait whose value must be one of a specified set of values
GdalOutputComponent Output section component in tool configuration
GdalSpecificComponent Specific section component in tool configuration
GdalToolDescriptor([executable, cwd, env, ...]) Base tool configuration and cmdline building for gdal tools.
Group(*values, **traits) Represents a grouping of items in a user interface view.
Instance(**metadata[, klass, factory, args, ...]) Defines a trait whose value must be an instance of a specified class,
InstanceEditor Editor factory for instance editors.
Item(**traits[, value]) An element in a Traits-based user interface.
NonZeroPositiveInt(**metadata[, default_value]) Integer validated only when > 0
OptionalTrait(object[, style]) Base Trait component to make an optional Trait Type GUI.
Srs Trait component for Spatial Reference Systems
String(**metadata[, value, minlen, maxlen, ...]) Defines a trait whose value must be a Python string whose length is
Tabbed(*values, **traits) A group that is shown as a tabbed notebook.
TilesDescriptor([cwd, env, isextraenv, ...]) descriptor for gdal2tiles.py tool
TilesDescriptor_GDAL_1_6_0([cwd, env, ...]) descriptor for gdal2tiles.py tool
TilesOutputSection
TilesSpecificSection
TilesSpecificSection_GDAL_1_6_0
View(*values, **traits) A Traits-based user interface for one or more objects.
class gdaltools.tiles.TilesDescriptor(cwd=None, env=None, isextraenv=True, stdout_handler=None, stderr_handler=None, mainwin=None)

descriptor for gdal2tiles.py tool

Usage: gdal2tiles.py [options] input_file(s) [output]

Options:
--version show program’s version number and exit
-h, --help show this help message and exit
-p PROFILE, --profile=PROFILE
 Tile cutting profile (mercator,geodetic,raster) - default ‘mercator’ (Google Maps compatible)
-r RESAMPLING, --resampling=RESAMPLING
 Resampling method (average,near,bilinear,cubic,cubicsp line,lanczos,antialias) - default ‘average’
-s SRS, --s_srs=SRS
 The spatial reference system used for the source input data
-z ZOOM, --zoom=ZOOM
 Zoom levels to render (format:‘2-5’ or ‘10’).
-e, --resume Resume mode. Generate only missing files.
-v, --verbose Print status messages to stdout
KML (Google Earth) options:

Options for generated Google Earth SuperOverlay metadata

-k, --force-kml
 Generate KML for Google Earth - default for ‘geodetic’ profile and ‘raster’ in EPSG:4326. For a dataset with different projection use with caution!
-n, --no-kml Avoid automatic generation of KML files for EPSG:4326
-u URL, --url=URL
 URL address where the generated tiles are going to be published
Web viewer options:

Options for generated HTML viewers a la Google Maps

-w WEBVIEWER, --webviewer=WEBVIEWER
 Web viewer to generate (all,google,openlayers,none) - default ‘all’
-t TITLE, --title=TITLE
 Title of the map
-c COPYRIGHT, --copyright=COPYRIGHT
 Copyright for the map
-g GOOGLEKEY, --googlekey=GOOGLEKEY
 Google Maps API key from http://code.google.com/apis/maps/signup.html
-y YAHOOKEY, --yahookey=YAHOOKEY
 Yahoo Application ID from http://developer.yahoo.com/wsregapp/
extractargs()
Override standard method because parameter order is different
setup_tool(datasetname, operation='', workdir='/home/valentino', findoverview_cb=None, area_selected=None)
Complete setup operation for gdal2tiles tool.
class gdaltools.tiles.TilesDescriptor_GDAL_1_6_0(cwd=None, env=None, isextraenv=True, stdout_handler=None, stderr_handler=None, mainwin=None)

descriptor for gdal2tiles.py tool

gdal2tiles.py [-title “Title”] [-publishurl http://yourserver/dir/]
[-nogooglemaps] [-noopenlayers] [-nokml] [-googlemapskey KEY] [-forcekml] [-v] input_file [output_dir]
extractargs()
Override standard method because parameter order is different
setup_tool(datasetname, operation='', workdir='/home/valentino', findoverview_cb=None, area_selected=None)
Complete setup operation for gdal2tiles tool.
class gdaltools.tiles.TilesOutputSection
setup(base_src_filename=None, workdir='/home/valentino')
Override standard method
class gdaltools.tiles.TilesSpecificSection
extractargs()
Return args for gdal2tiles tool.
class gdaltools.tiles.TilesSpecificSection_GDAL_1_6_0
extractargs()
Return args for gdal2tiles tool.

Previous topic

gdaltools.sieve

Next topic

gdaltools.translate

This Page