Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/airbusgeo/godal
/ functions
Functions
838 in github.com/airbusgeo/godal
⨍
Functions
838
◇
Types & classes
271
↓ 6 callers
Method
GetStatistics
GetStatistics returns if present and flag as true. Only cached statistics are returned and no new statistics are computed. Return false and no error
godal.go:470
↓ 6 callers
Method
Histogram
Histogram returns or computes the bands histogram
godal.go:436
↓ 6 callers
Method
IO
IO reads or writes the pixels contained in the supplied window
godal.go:303
↓ 6 callers
Method
Metadatas
(opts ...MetadataOption)
godal.go:1889
↓ 6 callers
Function
NewGeometryFromGeoJSON
NewGeometryFromGeoJSON creates a new Geometry from its GeoJSON representation
godal.go:3533
↓ 6 callers
Function
RasterDriver
RasterDriver returns a Driver by name. It returns false if the named driver does not exist
godal.go:1422
↓ 6 callers
Function
Resampling
Resampling defines the resampling algorithm to use. If unset will usually default to NEAREST. See gdal docs for which algorithms are available.
options.go:1027
↓ 6 callers
Method
Stat
godal.cpp:1768
↓ 6 callers
Function
VectorOnly
VectorOnly limits drivers to vector ones (incompatible with RasterOnly() )
godal.go:1999
↓ 6 callers
Method
Viewshed
Viewshed (binding for GDALViewshedGenerate), creates a viewshed from a raster DEM, these parameters (mostly) map to parameters for GDALViewshedGenerat
godal.go:4188
↓ 6 callers
Function
getDriver
(name string)
godal.go:1432
↓ 6 callers
Function
testErrorAndLogging
(opts ...errorAndLoggingOption)
godal.go:1647
↓ 5 callers
Method
Buffer
Buffer buffers the geometry
godal.go:2714
↓ 5 callers
Method
ClearStatistics
ClearStatistics delete dataset statisitics Since GDAL 3.2 Available options are: -ErrLogger
godal.go:1155
↓ 5 callers
Method
DateTime
DateTime returns the field as a date time
godal.go:3129
↓ 5 callers
Function
Levels
Levels set the overview levels to be computed. This is usually: Levels(2,4,8,16,32)
options.go:1055
↓ 5 callers
Method
Minor
Minor return the GDAL minor version (e.g. "2" in 3.2.1)
godal.go:1594
↓ 5 callers
Function
NewTransform
NewTransform creates a transformation object from src to dst
godal.go:2157
↓ 5 callers
Method
NoData
NoData returns the band's nodata value. if ok is false, the band does not have a nodata value set
godal.go:185
↓ 5 callers
Method
Projection
Projection returns the WKT projection of the dataset. May be empty.
godal.go:820
↓ 5 callers
Method
ReadAt
(key string, buf []byte, off int64)
godal.go:3783
↓ 5 callers
Method
UpdateFeature
UpdateFeature rewrites an updated feature in the Layer
godal.go:3330
↓ 5 callers
Function
VSIHandlerBufferSize
VSIHandlerBufferSize sets the size of the gdal-native block size used for caching. Must be positive, can be set to 0 to disable this behavior (not rec
options.go:1649
↓ 5 callers
Function
VectorDriver
VectorDriver returns a Driver by name. It returns false if the named driver does not exist
godal.go:1410
↓ 5 callers
Method
WarpInto
WarpInto writes provided sourceDS Datasets into self existing dataset and runs the library version of gdalwarp See the gdalwarp doc page to determine
godal.go:1050
↓ 5 callers
Function
cIntArray
(in []int)
godal.go:544
↓ 4 callers
Method
Area
Area computes the area for geometries of type LinearRing, Polygon or MultiPolygon (returns zero for other types). The area is in square units of the s
godal.go:2674
↓ 4 callers
Method
AuthorityCode
AuthorityCode is used to query an AUTHORITY[] node from within the WKT tree, and fetch the code value. target is the partial or complete path to the n
godal.go:2306
↓ 4 callers
Method
AuthorityName
AuthorityName is used to query an AUTHORITY[] node from within the WKT tree, and fetch the authority name value. target is the partial or complete pa
godal.go:2288
↓ 4 callers
Function
BandStride
BandStride sets the offset in the provided buffer from one pixel to the next band of the same pixel. If not provided, it will be calculated from the p
options.go:819
↓ 4 callers
Function
BuildVRT
BuildVRT runs the GDALBuildVRT function and creates a VRT dataset from a list of datasets
godal.go:3962
↓ 4 callers
Method
ColorInterp
ColorInterp returns the band's color interpretation (defaults to Gray)
godal.go:233
↓ 4 callers
Method
ColorTable
ColorTable returns the bands color table. The returned ColorTable will have a 0-length Entries if the band has no color table assigned
godal.go:711
↓ 4 callers
Method
CreateMask
CreateMask creates a mask (nodata) band for this band. Any handle returned by a previous call to MaskBand() should not be used after a call to Create
godal.go:268
↓ 4 callers
Method
Empty
Empty returns true if the geometry is empty
godal.go:2862
↓ 4 callers
Function
GCPProjection
GCPProjection sets the projection string as an option for SetGCPs NOTE: A non-nil `sr` takes precedence over `projString`
options.go:1439
↓ 4 callers
Function
GCPSpatialRef
GCPSpatialRef sets the *SpatialRef as an option for SetGCPs NOTE: A non-nil `sr` takes precedence over `projString
options.go:1455
↓ 4 callers
Function
LineSpacing
LineSpacing sets the number of bytes from one pixel to the pixel of the same band one row below. If not provided, it will be calculated from the numbe
options.go:810
↓ 4 callers
Method
Metadata
(key string, opts ...MetadataOption)
godal.go:1876
↓ 4 callers
Method
Nearblack
Nearblack runs the library version of nearblack See the nearblack doc page to determine the valid flags/opts that can be set in switches. Example sw
godal.go:4235
↓ 4 callers
Method
NearblackInto
NearblackInto writes the provided `sourceDs` into the Dataset that this method was called on, and runs the library version of nearblack. See the near
godal.go:4273
↓ 4 callers
Function
NewGeometryFromWKB
NewGeometryFromWKB creates a new Geometry from its WKB representation
godal.go:3570
↓ 4 callers
Function
NewSpatialRefFromProj4
NewSpatialRefFromProj4 creates a SpatialRef from a proj4 string
godal.go:2115
↓ 4 callers
Function
NewSpatialRefFromWKT
NewSpatialRefFromWKT creates a SpatialRef from an opengis WKT description
godal.go:2099
↓ 4 callers
Method
RasterizeInto
RasterizeInto wraps GDALRasterize() and rasterizes the provided vectorDataset into the ds Dataset
godal.go:2372
↓ 4 callers
Method
Reproject
Reproject reprojects the given geometry to the given SpatialRef
godal.go:3637
↓ 4 callers
Method
ResetReading
ResetReading makes Layer.NextFeature return the first feature of the layer
godal.go:3284
↓ 4 callers
Method
SemiMajor
SemiMajor returns the SpatialRef's Semi Major Axis
godal.go:2254
↓ 4 callers
Method
SetColorInterp
SetColorInterp sets the band's color interpretation
godal.go:239
↓ 4 callers
Method
SetGeometry
SetGeometry overwrites the feature's geometry
godal.go:2926
↓ 4 callers
Method
SetScaleOffset
SetScaleOffset sets the band's scale and offset
godal.go:217
↓ 4 callers
Method
StartTransaction
StartTransaction creates a transaction for datasets which support transactions
godal.go:3485
↓ 4 callers
Method
Transform
Transform transforms the given geometry. g is expected to already be in the supplied Transform source SpatialRef.
godal.go:3649
↓ 4 callers
Method
TransformEx
TransformEx reprojects points in place x and y may not be nil and must be of the same length z may be nil, or of the same length as x and y success
godal.go:2191
↓ 4 callers
Function
VSIHandlerCacheSize
VSIHandlerCacheSize sets the total number of gdal-native bytes used as cache *per handle*. Defaults to 128Kb.
options.go:1655
↓ 4 callers
Method
Warp
Warp runs the library version of gdalwarp See the gdalwarp doc page to determine the valid flags/opts that can be set in switches. Example switches :
godal.go:983
↓ 4 callers
Function
Window
Window specifies the size of the dataset window to read/write. By default use the size of the input/output buffer (i.e. no resampling)
options.go:849
↓ 4 callers
Method
setCreateSpatialRefOpt
(so *createSpatialRefOpts)
srs.go:71
↓ 4 callers
Method
setMetadataOpt
(mo *metadataOpts)
options.go:684
↓ 3 callers
Function
Approximate
Approximate allows the histogram algorithm to operate on a subset of the full resolution data
histogram.go:86
↓ 3 callers
Function
AssertMinVersion
AssertMinVersion will panic if the runtime version is not at least major.minor.revision
godal.go:1604
↓ 3 callers
Method
AutoIdentifyEPSG
AutoIdentifyEPSG sets EPSG authority info if possible.
godal.go:2320
↓ 3 callers
Function
BandInterleaved
BandInterleaved makes Read return a band interleaved buffer instead of a pixel interleaved one. For example, pixels of a three band RGB image will be
options.go:875
↓ 3 callers
Method
BlockCount
BlockCount returns the number of blocks in the x and y dimensions
structure.go:86
↓ 3 callers
Method
Bucket
Bucket returns the i'th bucket in the histogram. i must be between 0 and Len()-1.
histogram.go:35
↓ 3 callers
Method
ClearNoData
ClearNoData clears the band's nodata value
godal.go:206
↓ 3 callers
Method
ComputeStatistics
ComputeStatistics returns from exact computation or approximation. Band full scan might be necessary. Available options are: - Aproximate() to allow
godal.go:502
↓ 3 callers
Function
CurveCoeff
CurveCoeff sets the coefficient for atmospheric refraction
options.go:1361
↓ 3 callers
Method
DeleteFeature
DeleteFeature deletes feature from the Layer.
godal.go:3341
↓ 3 callers
Method
Difference
Difference generates a new geometry which is the region of this geometry with the region of the other geometry removed.
godal.go:2731
↓ 3 callers
Function
GCPsToGeoTransform
Convert list of GCPs to a GDAL GeoTransorm array
godal.go:4404
↓ 3 callers
Method
GML
GML returns the geometry in GML format. See the GDAL exportToGML doc page to determine the GML conversion options that can be set through CreationOpti
godal.go:3687
↓ 3 callers
Function
HasVSIHandler
HasVSIHandler returns true if a VSIHandler is registered for this prefix
godal.go:3957
↓ 3 callers
Method
IntList
IntList returns the field as a list of integer
godal.go:3139
↓ 3 callers
Method
Intersection
Intersection generates a new geometry which is the region of intersection of the two geometries operated on.
godal.go:2814
↓ 3 callers
Function
Mask
Mask makes Polygonize or FillNoData use the given band as a nodata mask instead of using the source band's nodata mask
options.go:1085
↓ 3 callers
Function
PixelSpacing
PixelSpacing sets the number of bytes from one pixel to the next pixel in the same row. If not provided, it will be calculated from the number of band
options.go:798
↓ 3 callers
Function
PixelValueFieldIndex
PixelValueFieldIndex makes Polygonize write the polygon's pixel value into the layer's fld'th field
options.go:1162
↓ 3 callers
Function
RasterOnly
RasterOnly limits drivers to vector ones (incompatible with VectorOnly() )
godal.go:2012
↓ 3 callers
Method
Rasterize
Rasterize wraps GDALRasterize()
godal.go:2340
↓ 3 callers
Method
ReadAtMulti
(key string, bufs [][]byte, offs []int64)
godal.go:3791
↓ 3 callers
Function
RegisterAll
RegisterAll calls GDALAllRegister which registers all available raster and vector drivers. Alternatively, you may also register a select number of dr
godal.go:1273
↓ 3 callers
Function
SQLiteDialect
SQLiteDialect is an alternative to the OGRSQLDialect and may be used with any Vector Dataset If GDAL was compiled with Spatialite, this dialect will a
options.go:1704
↓ 3 callers
Method
SetColorTable
SetColorTable sets the band's color table. if passing in a 0-length ct.Entries, the band's color table will be cleared
godal.go:727
↓ 3 callers
Method
Simplify
Simplify simplifies the geometry with the given tolerance
godal.go:2697
↓ 3 callers
Method
SubGeometry
SubGeometry Fetch geometry from a geometry container.
godal.go:2781
↓ 3 callers
Method
Union
Union generates a new geometry which is the region of union of the two geometries operated on.
godal.go:2835
↓ 3 callers
Method
WKB
WKB returns the Geomtry's WKB representation
godal.go:3604
↓ 3 callers
Function
_gogdalMultiReadCallback
export _gogdalMultiReadCallback
godal.go:3814
↓ 3 callers
Function
actualBlockSize
(sizeX, sizeY int, blockSizeX, blockSizeY int, blockX, blockY int)
structure.go:97
↓ 3 callers
Function
cStringArrayToSlice
(in **C.char)
godal.go:613
↓ 3 callers
Method
getFieldAsDateTime
Fetch field as date and time
godal.go:3243
↓ 3 callers
Function
getGoGDALReader
(key string)
godal.go:3868
↓ 3 callers
Function
goGCPListToGDALGCP
godal.cpp:2013
↓ 3 callers
Function
gsparse
(file string)
cogify/cogify-main.go:18
↓ 3 callers
Function
reprojectBounds
(bnds [4]float64, src, dst *SpatialRef)
srs.go:74
↓ 3 callers
Method
reset
()
godal_test.go:3889
↓ 3 callers
Method
setBoundsOpt
(o *boundsOpts)
srs.go:58
↓ 3 callers
Method
setNewGeometryOpt
(o *newGeometryOpts)
options.go:568
↓ 3 callers
Method
setSetNoDataOpt
(ndo *setNodataOpts)
options.go:69
← previous
next →
101–200 of 838, ranked by callers