gdaltools.warp

GDAL Warp.

Functions

Trait(*value_type, **metadata) Creates a trait definition.

Classes

Bool(**metadata[, default_value]) Defines a trait whose value must be a Python boolean using a C-level
CoorWin(*args, **kwargs) Trait component to select an area on image with geographic coordinate values.
Enum(*args, **metadata) Defines a trait whose value must be one of a specified set of values
File(**metadata[, value, filter, auto_set, ...]) Defines a trait whose value must be the name of a file using a C-level
Float(**metadata[, default_value]) Defines a trait whose value must be a Python float using a C-level fast
GdalFileEditor2(*args, **traits) Custom File Editor Factory using GdalSimpleFileEditor2
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.
ImgSubwindow Trait component to select an area on image
Instance(**metadata[, klass, factory, args, ...]) Defines a trait whose value must be an instance of a specified class,
InstanceEditor Editor factory for instance editors.
Int(**metadata[, default_value]) Defines a trait whose value must be a Python int using a C-level fast
Item(**traits[, value]) An element in a Traits-based user interface.
OptionalTrait(object[, style]) Base Trait component to make an optional Trait Type GUI.
ProjWin(*args, **kwargs) Trait component to select an area on image.
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.
Tuple(*types, **metadata) Defines a trait whose value must be a tuple of specified trait types
View(*values, **traits) A Traits-based user interface for one or more objects.
WarpCoorWin(*args, **kwargs)
WarpDescriptor([cwd, env, isextraenv, ...]) descriptor for gdalwarp tool
WarpImgSubwindow
WarpProjWin(*args, **kwargs)
WarpSpecificComponent

Exceptions

TraitError([args, name, info, value])
class gdaltools.warp.WarpCoorWin(*args, **kwargs)
extractargs()
class gdaltools.warp.WarpDescriptor(cwd=None, env=None, isextraenv=True, stdout_handler=None, stderr_handler=None, mainwin=None)

descriptor for gdalwarp tool

gdalwarp [–help-general] [–formats] [-s_srs srs_def] [-t_srs srs_def] [-order n] ] [-tps] [-et err_threshold] [-te xmin ymin xmax ymax] [-tr xres yres] [-ts width height] [-wo “NAME=VALUE”] [-ot Byte/Int16/...] [-wt Byte/Int16] [-srcnodata “value [value...]”] [-dstnodata “value [value...]”] -dstalpha [-r resampling_method] [-wm memory_in_mb] [-multi] [-q] [-of format] [-co “NAME=VALUE”]* srcfile* dstfile

Available resampling methods: near (default), bilinear, cubic, cubicspline, lanczos.

complete_srs()
Update srs according to chosen file
extractargs()
set_te(rect_coords)
setup_tool(curr_datasetname, operation='', workdir='/home/valentino', findoverview_cb=None, area_selected=None)
update_src_win()
class gdaltools.warp.WarpImgSubwindow
class gdaltools.warp.WarpProjWin(*args, **kwargs)
extractargs()
class gdaltools.warp.WarpSpecificComponent
extractargs()
Return args for gdalwarp tool.
setup(base_src_filenam, workdir)
Override setup standard method for specific section of warp.

Previous topic

gdaltools.translate

Next topic

gdalextras

This Page