|
_swig_setattr_nondynamic(self,
class_type,
name,
value,
static=1) |
source code
|
|
|
_swig_setattr(self,
class_type,
name,
value) |
source code
|
|
|
|
|
|
|
|
|
RGBFile2PCTFile(src_filename,
dst_filename) |
source code
|
|
int
|
|
|
|
|
|
|
VSIFReadL(*args)
VSIFReadL(int nMembSize, int nMembCount, VSILFILE fp) -> int |
source code
|
|
|
|
|
InfoOptions(options=[],
format='text',
deserialize=True,
computeMinMax=False,
reportHistograms=False,
reportProj4=False,
stats=False,
approxStats=False,
computeChecksum=False,
showGCPs=True,
showMetadata=True,
showRAT=True,
showColorTable=True,
listMDD=False,
showFileList=True,
allMetadata=False,
extraMDDomains=None)
Create a InfoOptions() object that can be passed to gdal.Info()
options can be be an array of strings, a string or let empty and
filled from other keywords. |
source code
|
|
|
|
|
TranslateOptions(options=[],
format='GTiff',
outputType=GDT_Unknown,
bandList=None,
maskBand=None,
width=0,
height=0,
widthPct=0.0,
heightPct=0.0,
xRes=0.0,
yRes=0.0,
creationOptions=None,
srcWin=None,
projWin=None,
projWinSRS=None,
strict=False,
unscale=False,
scaleParams=None,
exponents=None,
outputBounds=None,
metadataOptions=None,
outputSRS=None,
GCPs=None,
noData=None,
rgbExpand=None,
stats=False,
rat=True,
resampleAlg=None,
callback=None,
callback_data=None)
Create a TranslateOptions() object that can be passed to gdal.Translate()
Keyword arguments are :
options --- can be be an array of strings, a string or let empty and filled from other keywords. |
source code
|
|
|
|
|
WarpOptions(options=[],
format='GTiff',
outputBounds=None,
outputBoundsSRS=None,
xRes=None,
yRes=None,
targetAlignedPixels=False,
width=0,
height=0,
srcSRS=None,
dstSRS=None,
srcAlpha=False,
dstAlpha=False,
warpOptions=None,
errorThreshold=None,
warpMemoryLimit=None,
creationOptions=None,
outputType=GDT_Unknown,
workingType=GDT_Unknown,
resampleAlg=None,
srcNodata=None,
dstNodata=None,
multithread=False,
tps=False,
rpc=False,
geoloc=False,
polynomialOrder=None,
transformerOptions=None,
cutlineDSName=None,
cutlineLayer=None,
cutlineWhere=None,
cutlineSQL=None,
cutlineBlend=None,
cropToCutline=False,
copyMetadata=True,
metadataConflictValue=None,
setColorInterpretation=False,
callback=None,
callback_data=None)
Create a WarpOptions() object that can be passed to gdal.Warp()
Keyword arguments are :
options --- can be be an array of strings, a string or let empty and filled from other keywords. |
source code
|
|
|
Warp(destNameOrDestDS,
srcDSOrSrcDSTab,
**kwargs)
Warp one or several datasets. |
source code
|
|
|
VectorTranslateOptions(options=[],
format='ESRI Shapefile',
accessMode=None,
srcSRS=None,
dstSRS=None,
reproject=True,
SQLStatement=None,
SQLDialect=None,
where=None,
selectFields=None,
spatFilter=None,
datasetCreationOptions=None,
layerCreationOptions=None,
layers=None,
layerName=None,
geometryType=None,
dim=None,
segmentizeMaxDist=None,
zField=None,
skipFailures=False,
callback=None,
callback_data=None)
Create a VectorTranslateOptions() object that can be passed to gdal.VectorTranslate()
Keyword arguments are :
options --- can be be an array of strings, a string or let empty and filled from other keywords. |
source code
|
|
|
VectorTranslate(destNameOrDestDS,
srcDS,
**kwargs)
Convert one vector dataset
Arguments are :
destNameOrDestDS --- Output dataset name or object
srcDS --- a Dataset object or a filename
Keyword arguments are :
options --- return of gdal.InfoOptions(), string or array of strings
other keywords arguments of gdal.VectorTranslateOptions()
If options is provided as a gdal.VectorTranslateOptions() object, other keywords are ignored. |
source code
|
|
|
DEMProcessingOptions(options=[],
colorFilename=None,
format='GTiff',
creationOptions=None,
computeEdges=False,
alg='Horn',
band=1,
zFactor=None,
scale=None,
azimuth=None,
altitude=None,
combined=False,
slopeFormat=None,
trigonometric=False,
zeroForFlat=False,
callback=None,
callback_data=None)
Create a DEMProcessingOptions() object that can be passed to gdal.DEMProcessing()
Keyword arguments are :
options --- can be be an array of strings, a string or let empty and filled from other keywords. |
source code
|
|
|
|
|
NearblackOptions(options=[],
format='GTiff',
creationOptions=None,
white=False,
colors=None,
maxNonBlack=None,
nearDist=None,
setAlpha=False,
setMask=False,
callback=None,
callback_data=None)
Create a NearblackOptions() object that can be passed to gdal.Nearblack()
Keyword arguments are :
options --- can be be an array of strings, a string or let empty and filled from other keywords. |
source code
|
|
|
Nearblack(destNameOrDestDS,
srcDS,
**kwargs)
Convert nearly black/white borders to exact value. |
source code
|
|
|
GridOptions(options=[],
format='GTiff',
outputType=GDT_Unknown,
width=0,
height=0,
creationOptions=None,
outputBounds=None,
outputSRS=None,
noData=None,
algorithm=None,
layers=None,
SQLStatement=None,
where=None,
spatFilter=None,
zfield=None,
z_increase=None,
z_multiply=None,
callback=None,
callback_data=None)
Create a GridOptions() object that can be passed to gdal.Grid()
Keyword arguments are :
options --- can be be an array of strings, a string or let empty and filled from other keywords. |
source code
|
|
|
Grid(destName,
srcDS,
**kwargs)
Create raster from the scattered data. |
source code
|
|
|
RasterizeOptions(options=[],
format=None,
creationOptions=None,
noData=None,
initValues=None,
outputBounds=None,
outputSRS=None,
width=None,
height=None,
xRes=None,
yRes=None,
targetAlignedPixels=False,
bands=None,
inverse=False,
allTouched=False,
burnValues=None,
attribute=None,
useZ=False,
layers=None,
SQLStatement=None,
SQLDialect=None,
where=None,
callback=None,
callback_data=None)
Create a RasterizeOptions() object that can be passed to gdal.Rasterize()
Keyword arguments are :
options --- can be be an array of strings, a string or let empty and filled from other keywords. |
source code
|
|
|
Rasterize(destNameOrDestDS,
srcDS,
**kwargs)
Burns vector geometries into a raster
Arguments are :
destNameOrDestDS --- Output dataset name or object
srcDS --- a Dataset object or a filename
Keyword arguments are :
options --- return of gdal.InfoOptions(), string or array of strings
other keywords arguments of gdal.RasterizeOptions()
If options is provided as a gdal.RasterizeOptions() object, other keywords are ignored. |
source code
|
|
|
BuildVRTOptions(options=[],
resolution=None,
outputBounds=None,
xRes=None,
yRes=None,
targetAlignedPixels=None,
separate=None,
bandList=None,
addAlpha=None,
resampleAlg=None,
outputSRS=None,
allowProjectionDifference=None,
srcNodata=None,
VRTNodata=None,
hideNodata=None,
callback=None,
callback_data=None)
Create a BuildVRTOptions() object that can be passed to gdal.BuildVRT()
Keyword arguments are :
options --- can be be an array of strings, a string or let empty and filled from other keywords.. |
source code
|
|
|
|
|
Debug(*args)
Debug(char msg_class, char message) |
source code
|
|
|
SetErrorHandler(*args)
SetErrorHandler(char pszCallbackName = None) -> CPLErr |
source code
|
|
|
PushErrorHandler(*args)
PushErrorHandler(CPLErrorHandler pfnErrorHandler = None) -> CPLErr |
source code
|
|
|
|
|
Error(*args)
Error(CPLErr msg_class = CE_Failure, int err_code = 0, char msg =
"error") |
source code
|
|
|
GOA2GetAuthorizationURL(*args)
GOA2GetAuthorizationURL(char pszScope) -> retStringAndCPLFree |
source code
|
|
|
GOA2GetRefreshToken(*args)
GOA2GetRefreshToken(char pszAuthToken, char pszScope) ->
retStringAndCPLFree |
source code
|
|
|
GOA2GetAccessToken(*args)
GOA2GetAccessToken(char pszRefreshToken, char pszScope) ->
retStringAndCPLFree |
source code
|
|
|
|
|
EscapeString(*args,
**kwargs)
EscapeString(int len, int scheme = CPLES_SQL) ->
retStringAndCPLFree |
source code
|
|
int
|
|
int
|
|
char
|
|
int
|
|
char
|
|
|
PushFinderLocation(*args)
PushFinderLocation(char utf8_path) |
source code
|
|
|
|
|
|
|
FindFile(*args)
FindFile(char pszClass, char utf8_path) -> char |
source code
|
|
|
ReadDir(*args)
ReadDir(char utf8_path, int nMaxFiles = 0) -> char |
source code
|
|
|
ReadDirRecursive(*args)
ReadDirRecursive(char utf8_path) -> char |
source code
|
|
|
SetConfigOption(*args)
SetConfigOption(char pszKey, char pszValue) |
source code
|
|
|
GetConfigOption(*args)
GetConfigOption(char pszKey, char pszDefault = None) -> char |
source code
|
|
|
CPLBinaryToHex(*args)
CPLBinaryToHex(int nBytes) -> retStringAndCPLFree |
source code
|
|
|
CPLHexToBinary(*args)
CPLHexToBinary(char pszHex, int pnBytes) -> GByte |
source code
|
|
|
FileFromMemBuffer(*args)
FileFromMemBuffer(char utf8_path, int nBytes) |
source code
|
|
|
Unlink(*args)
Unlink(char utf8_path) -> VSI_RETVAL |
source code
|
|
int
|
|
|
Mkdir(*args)
Mkdir(char utf8_path, int mode) -> VSI_RETVAL |
source code
|
|
|
Rmdir(*args)
Rmdir(char utf8_path) -> VSI_RETVAL |
source code
|
|
|
Rename(*args)
Rename(char pszOld, char pszNew) -> VSI_RETVAL |
source code
|
|
|
VSIStatL(*args)
VSIStatL(char utf8_path, int nFlags = 0) -> int |
source code
|
|
|
VSIFOpenL(*args)
VSIFOpenL(char utf8_path, char pszMode) -> VSILFILE |
source code
|
|
|
VSIFOpenExL(*args)
VSIFOpenExL(char utf8_path, char pszMode, int bSetError) ->
VSILFILE |
source code
|
|
|
VSIFCloseL(*args)
VSIFCloseL(VSILFILE fp) -> VSI_RETVAL |
source code
|
|
|
VSIFSeekL(*args)
VSIFSeekL(VSILFILE fp, GIntBig offset, int whence) -> int |
source code
|
|
|
VSIFTellL(*args)
VSIFTellL(VSILFILE fp) -> GIntBig |
source code
|
|
|
VSIFTruncateL(*args)
VSIFTruncateL(VSILFILE fp, GIntBig length) -> int |
source code
|
|
|
VSIFWriteL(*args)
VSIFWriteL(int nLen, int size, int memb, VSILFILE fp) -> int |
source code
|
|
|
ParseCommandLine(*args)
ParseCommandLine(char utf8_path) -> char |
source code
|
|
|
GDAL_GCP_GCPX_get(*args)
GDAL_GCP_GCPX_get(GCP gcp) -> double |
source code
|
|
|
GDAL_GCP_GCPX_set(*args)
GDAL_GCP_GCPX_set(GCP gcp, double dfGCPX) |
source code
|
|
|
GDAL_GCP_GCPY_get(*args)
GDAL_GCP_GCPY_get(GCP gcp) -> double |
source code
|
|
|
GDAL_GCP_GCPY_set(*args)
GDAL_GCP_GCPY_set(GCP gcp, double dfGCPY) |
source code
|
|
|
GDAL_GCP_GCPZ_get(*args)
GDAL_GCP_GCPZ_get(GCP gcp) -> double |
source code
|
|
|
GDAL_GCP_GCPZ_set(*args)
GDAL_GCP_GCPZ_set(GCP gcp, double dfGCPZ) |
source code
|
|
|
GDAL_GCP_GCPPixel_get(*args)
GDAL_GCP_GCPPixel_get(GCP gcp) -> double |
source code
|
|
|
GDAL_GCP_GCPPixel_set(*args)
GDAL_GCP_GCPPixel_set(GCP gcp, double dfGCPPixel) |
source code
|
|
|
GDAL_GCP_GCPLine_get(*args)
GDAL_GCP_GCPLine_get(GCP gcp) -> double |
source code
|
|
|
GDAL_GCP_GCPLine_set(*args)
GDAL_GCP_GCPLine_set(GCP gcp, double dfGCPLine) |
source code
|
|
|
GDAL_GCP_Info_get(*args)
GDAL_GCP_Info_get(GCP gcp) -> char |
source code
|
|
|
GDAL_GCP_Info_set(*args)
GDAL_GCP_Info_set(GCP gcp, char pszInfo) |
source code
|
|
|
GDAL_GCP_Id_get(*args)
GDAL_GCP_Id_get(GCP gcp) -> char |
source code
|
|
|
GDAL_GCP_Id_set(*args)
GDAL_GCP_Id_set(GCP gcp, char pszId) |
source code
|
|
|
GCPsToGeoTransform(*args)
GCPsToGeoTransform(int nGCPs, int bApproxOK = 1) -> RETURN_NONE |
source code
|
|
|
TermProgress_nocb(*args,
**kwargs)
TermProgress_nocb(double dfProgress, char pszMessage = None, void
pData = None) -> int |
source code
|
|
|
_newclass = 0
|
|
have_warned = 0
|
|
byteorders = {"little": "<", "big": ">"}
|
|
array_modes = {gdalconst.GDT_Int16:("%si2" % byteorders [sys.b...
|
|
VSI_STAT_EXISTS_FLAG = _gdal.VSI_STAT_EXISTS_FLAG
|
|
VSI_STAT_NATURE_FLAG = _gdal.VSI_STAT_NATURE_FLAG
|
|
VSI_STAT_SIZE_FLAG = _gdal.VSI_STAT_SIZE_FLAG
|
|
StatBuf_swigregister = _gdal.StatBuf_swigregister
|
|
MajorObject_swigregister = _gdal.MajorObject_swigregister
|
|
Driver_swigregister = _gdal.Driver_swigregister
|
|
ColorEntry_swigregister = _gdal.ColorEntry_swigregister
|
|
GCP_swigregister = _gdal.GCP_swigregister
|
|
VirtualMem_swigregister = _gdal.VirtualMem_swigregister
|
|
AsyncReader_swigregister = _gdal.AsyncReader_swigregister
|
|
Dataset_swigregister = _gdal.Dataset_swigregister
|
|
Band_swigregister = _gdal.Band_swigregister
|
|
ColorTable_swigregister = _gdal.ColorTable_swigregister
|
|
RasterAttributeTable_swigregister = _gdal.RasterAttributeTable...
|
|
TermProgress = _gdal.TermProgress
|
|
ComputeMedianCutPCT = _gdal.ComputeMedianCutPCT
|
|
DitherRGB2PCT = _gdal.DitherRGB2PCT
|
|
ReprojectImage = _gdal.ReprojectImage
|
|
ComputeProximity = _gdal.ComputeProximity
|
|
RasterizeLayer = _gdal.RasterizeLayer
|
|
Polygonize = _gdal.Polygonize
|
|
FPolygonize = _gdal.FPolygonize
|
|
FillNodata = _gdal.FillNodata
|
|
SieveFilter = _gdal.SieveFilter
|
|
RegenerateOverviews = _gdal.RegenerateOverviews
|
|
RegenerateOverview = _gdal.RegenerateOverview
|
|
ContourGenerate = _gdal.ContourGenerate
|
|
AutoCreateWarpedVRT = _gdal.AutoCreateWarpedVRT
|
|
CreatePansharpenedVRT = _gdal.CreatePansharpenedVRT
|
|
Transformer_swigregister = _gdal.Transformer_swigregister
|
|
ApplyGeoTransform = _gdal.ApplyGeoTransform
|
|
InvGeoTransform = _gdal.InvGeoTransform
|
|
VersionInfo = _gdal.VersionInfo
|
|
AllRegister = _gdal.AllRegister
|
|
GDALDestroyDriverManager = _gdal.GDALDestroyDriverManager
|
|
GetCacheMax = _gdal.GetCacheMax
|
|
GetCacheUsed = _gdal.GetCacheUsed
|
|
SetCacheMax = _gdal.SetCacheMax
|
|
GetDataTypeSize = _gdal.GetDataTypeSize
|
|
DataTypeIsComplex = _gdal.DataTypeIsComplex
|
|
GetDataTypeName = _gdal.GetDataTypeName
|
|
GetDataTypeByName = _gdal.GetDataTypeByName
|
|
GetColorInterpretationName = _gdal.GetColorInterpretationName
|
|
GetPaletteInterpretationName = _gdal.GetPaletteInterpretationName
|
|
DecToDMS = _gdal.DecToDMS
|
|
PackedDMSToDec = _gdal.PackedDMSToDec
|
|
DecToPackedDMS = _gdal.DecToPackedDMS
|
|
ParseXMLString = _gdal.ParseXMLString
|
|
SerializeXMLTree = _gdal.SerializeXMLTree
|
|
GetJPEG2000Structure = _gdal.GetJPEG2000Structure
|
|
GetJPEG2000StructureAsString = _gdal.GetJPEG2000StructureAsString
|
|
GetDriverCount = _gdal.GetDriverCount
|
|
GetDriverByName = _gdal.GetDriverByName
|
|
GetDriver = _gdal.GetDriver
|
|
Open = _gdal.Open
|
|
OpenEx = _gdal.OpenEx
|
|
OpenShared = _gdal.OpenShared
|
|
IdentifyDriver = _gdal.IdentifyDriver
|
|
GeneralCmdLineProcessor = _gdal.GeneralCmdLineProcessor
|
|
GDALInfoOptions_swigregister = _gdal.GDALInfoOptions_swigregister
|
|
InfoInternal = _gdal.InfoInternal
|
|
GDALTranslateOptions_swigregister = _gdal.GDALTranslateOptions...
|
|
TranslateInternal = _gdal.TranslateInternal
|
|
GDALWarpAppOptions_swigregister = _gdal.GDALWarpAppOptions_swi...
|
|
wrapper_GDALWarpDestDS = _gdal.wrapper_GDALWarpDestDS
|
|
wrapper_GDALWarpDestName = _gdal.wrapper_GDALWarpDestName
|
|
GDALVectorTranslateOptions_swigregister = _gdal.GDALVectorTran...
|
|
wrapper_GDALVectorTranslateDestDS = _gdal.wrapper_GDALVectorTr...
|
|
wrapper_GDALVectorTranslateDestName = _gdal.wrapper_GDALVector...
|
|
GDALDEMProcessingOptions_swigregister = _gdal.GDALDEMProcessin...
|
|
DEMProcessingInternal = _gdal.DEMProcessingInternal
|
|
GDALNearblackOptions_swigregister = _gdal.GDALNearblackOptions...
|
|
wrapper_GDALNearblackDestDS = _gdal.wrapper_GDALNearblackDestDS
|
|
wrapper_GDALNearblackDestName = _gdal.wrapper_GDALNearblackDes...
|
|
GDALGridOptions_swigregister = _gdal.GDALGridOptions_swigregister
|
|
GridInternal = _gdal.GridInternal
|
|
GDALRasterizeOptions_swigregister = _gdal.GDALRasterizeOptions...
|
|
wrapper_GDALRasterizeDestDS = _gdal.wrapper_GDALRasterizeDestDS
|
|
wrapper_GDALRasterizeDestName = _gdal.wrapper_GDALRasterizeDes...
|
|
GDALBuildVRTOptions_swigregister = _gdal.GDALBuildVRTOptions_s...
|
|
BuildVRTInternalObjects = _gdal.BuildVRTInternalObjects
|
|
BuildVRTInternalNames = _gdal.BuildVRTInternalNames
|