API Reference#
The API Reference provides an overview of all public objects, functions and methods implemented in GeofileOps.
Spatial operations on a single layer#
|
Apply a python lambda function on the geometry column of the input file. |
|
Applies a buffer operation on geometry column of the input file. |
|
Clip all geometries in the imput file by the geometry provided. |
|
Applies a convexhull operation on the input file. |
|
Copy all rows to the output file, except for duplicate geometries. |
|
Applies a dissolve operation on the input file. |
|
Dissolve geometries that are within the distance specified. |
|
Export the rows that intersect with the bounds specified. |
|
Checks for all geometries in the geofile if they are valid. |
|
Makes all geometries in the input file valid. |
|
Execute a SELECT SQL statement on the input file. |
|
Applies a simplify operation on geometry column of the input file. |
|
Warp all input features to the output file according to the gcps specified. |
Spatial operations on two layers#
|
Clip the input layer with the clip layer. |
|
Erase all geometries in the erase layer from the input layer. |
|
Exports all features within the distance specified. |
|
Exports all intersecting features. |
|
Calculate the pairwise intersection of alle features. |
|
Joins all features in input1 with all features in input2. |
|
Joins features of |
|
Execute a SELECT SQL statement on the input files. |
|
Intersection of the input layers, but retain the non-intersecting parts of input1. |
|
Calculates the "symmetric difference" of the two input layers. |
|
Calculates the pairwise "union" of the two input layers. |
General layer operations#
|
Append src file to the dst file. |
|
Add a column to a layer of the geofile. |
|
Add the layer style to the geofile. |
|
Read a layer from a source file and write it to a new destination file. |
|
Create a spatial index on the layer specified. |
|
Drop the column specified. |
|
Execute a SQL statement (DML or DDL) on the file. |
|
Get the CRS (projection) of the file. |
|
Get the default layer name to be used for a layer in this file. |
|
Get the geometry types in the layer by examining each geometry in the layer. |
|
Get information about a layer in the geofile. |
|
Get the layer styles saved in the geofile. |
|
Get the layername for a file that only contains one layer. |
|
Check if the layer/column has a spatial index. |
|
Reads a file to a geopandas GeoDataframe. |
|
Remove a layer style. |
|
Remove the spatial index from the layer specified. |
|
Rename the column specified. |
|
Rename the layer specified. |
|
Update a column from a layer of the geofile. |
|
Writes a pandas dataframe to file. |
General file operations#
|
Compare if two geofiles are identical. |
|
Copies the geofile from src to dst. |
|
Get the gdal driver name for the file specified. |
|
Get the list of layers in a geofile. |
|
Moves the geofile from src to dst. |
|
Removes the geofile. |
Classes#
|
Enumeration of the possible end point buffer styles. |
|
Enumeration of the available buffer styles for intermediate points. |
|
This enum defines the standard data types that can be used for columns. |
|
A data object containing meta-information about a layer. |
|
Enumeration of the different existing primitive types of a geometry. |
|
Enumeration of the supported simplification algorythms. |