Skip to content

Instantly share code, notes, and snippets.

@aaizemberg
Last active June 11, 2022 20:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aaizemberg/43c5bc54a2546c6fa67c717a12549fcb to your computer and use it in GitHub Desktop.
Save aaizemberg/43c5bc54a2546c6fa67c717a12549fcb to your computer and use it in GitHub Desktop.
Web Processing Service (WPS)
group id Name Description
JTS area Area Returns the area of a geometry, in the units of the geometry. Assumes a Cartesian plane, so this process is only recommended for non-geographic CRSes.
JTS boundary Boundary Returns a geometry boundary. For polygons, returns a linear ring or multi-linestring equal to the boundary of the polygon(s). For linestrings, returns a multipoint equal to the endpoints of the linestring. For points, returns an empty geometry collection.
JTS buffer Buffer Returns a polygonal geometry representing the input geometry enlarged by a given distance around its exterior.
JTS centroid Centroid Returns the geometric centroid of a geometry. Output is a single point. The centroid point may be located outside the geometry.
JTS contains Contains Test Tests if no points of the second geometry lie in the exterior of the first geometry and at least one point of the interior of second geometry lies in the interior of first geometry.
JTS convexHull Convex Hull Returns the smallest convex polygon that contains the entire input geometry.
JTS crosses Crosses Test Tests if two geometries have some, but not all, interior points in common.
JTS densify Densify Returns a spatially equivalent geometry with vertices added to ensure line segments are no longer than a given distance.
JTS difference Difference Returns a geometry representing the points that are contained in a geometry but not contained in a second geometry. The result may be a heterogeneous geometry collection.
JTS dimension Dimension Returns the largest dimension of a geometry or geometry collection: 0 for point, 1 for line, 2 for polygon.
JTS disjoint Disjoint Test Tests if two geometries do not have any points in common.
JTS distance Distance Returns the minimum distance between two geometries. Measurement is given in the input units, so geographic coordinates are not recommended.
JTS endPoint End Point Returns a point geometry equal to the final vertex of a LineString.
JTS envelope Envelope Returns the smallest bounding box polygon that contains a geometry. For a point geometry, returns the same point.
JTS equalsExact Exactly Equal Test Tests if two geometries are identical on a vertex-by-vertex basis.
JTS equalsExactTolerance Exactly Equal Test with Tolerance Tests if two geometries are identical on a vertex-by-vertex basis, up to a vertex distance tolerance.
JTS exteriorRing Exterior Ring Returns the exterior ring of a polygonal geometry.
JTS geometryType Geometry Type Returns the name of a geometry's type. Values are one of POINT, LINESTRING, POLYGON, MULTIPOINT, MULTILINESTRING, MULTIPOLYGON, GEOMETRYCOLLECTION.
JTS getGeometryN Nth Geometry Returns the geometry element at a given index in a geometry collection. Indexing starts at 0.
JTS getX Get X Ordinate Returns the X value (first ordinate) for point geometries. For other geometry types returns the X value of the centroid.
JTS getY Get Y Ordinate Returns the Y value (second ordinate) for point geometries. For other geometry types returns the Y value of the centroid.
JTS interiorPoint Interior Point Returns a point that lies inside a geometry if possible, or that lies on its boundary.
JTS interiorRingN Nth Interior Ring Returns a linear ring from a polygon containing interior rings (holes) determined by a given index. First interior ring has index 0. If no interior rings, returns null.
JTS intersection Intersection Returns a geometry representing the points that two geometries have in common. The result may be a heterogeneous geometry collection. If no intersection, returns an empty geometry.
JTS intersects Intersects Test Tests if two geometries intersect.
JTS isClosed Closed Test Tests if the initial vertex equals the final vertex in a linear geometry. Points and polygons always return True.
JTS isEmpty Empty Test Tests if a geometry contains no vertices.
JTS isRing Ring Test Tests if a geometry is both closed and simple.
JTS isSimple Simple Test Tests if a geometry is topologically simple. Points, polygons, closed line strings, and linear rings are always simple. Other geometries are considered simple if no two points are identical.
JTS isValid Valid Test Tests if a geometry is topologically valid.
JTS isWithinDistance Within Distance Test Tests if the minimum distance between two geometries is less than a tolerance value.
JTS length Length Returns the total length of all line segments in a geometry. Measurement is given in the source units, so geographic coordinates are not recommended.
JTS numGeometries Geometry Count Returns the total number of elements in a geometry collection. If not a geometry collection, returns 1. If empty, returns 0.
JTS numInteriorRing Interior Ring Count Returns the total number of interior rings in a polygonal geometry. Points and lines return 0.
JTS numPoints Number of Points Returns the number of vertices in a given geometry.
JTS overlaps Overlaps Test Tests if two geometries share some but not all interior points. Points or lines will always return False.
JTS pointN Nth Point Returns a point geometry equal to the Nth vertex in a geometry as determined by a given index. First vertex has index 0.
JTS polygonize Polygonize Creates a set of polygons from linestrings delineating them. The linestrings must be correctly noded (i.e. touch only at endpoints).
JTS relate Relate Matrix String Returns the DE-9IM intersection matrix string for the spatial relationship between the input geometries. The matrix string is in the form [II][IB][IE][BI][BB][BE][EI][EB][EE] where I=interior, B=boundary, and E=exterior. Matrix symbols are 2, 1, 0 or F.
JTS relatePattern Relate Test Tests if the spatial relationship between two geometries matches the given DE-9IM intersection matrix pattern. The pattern is given in the form [II][IB][IE][BI][BB][BE][EI][EB][EE] where I=interior, B=boundary, and E=exterior. Pattern symbols can be 2, 1, 0, F or *.
JTS reproject Reproject Geometry Reprojects a given geometry into a supplied coordinate reference system.
JTS simplify Simplify Returns a geometry that has been simplified (reduced in vertices) according to the Douglas-Peucker algorithm.
JTS splitPolygon Split Polygon Splits a polygon by a linestring
JTS startPoint Start Point Returns a point geometry equal to the first vertex of a LineString.
JTS symDifference Symmetric Difference Returns a geometry representing the points contained in either one of two geometries but not in both. The result may be a heterogeneous geometry collection.
JTS touches Touches Test Tests if two geometries have at least one boundary point in common, but share no interior points.
JTS union Union Returns a geometry representing all points contained in any of the geometries in a geometry collection.
JTS within Within Test Tests if the first geometry is contained in the second geometry.
geo area Area Returns the area of a geometry, in the units of the geometry. Assumes a Cartesian plane, so this process is only recommended for non-geographic CRSes.
geo boundary Boundary Returns a geometry boundary. For polygons, returns a linear ring or multi-linestring equal to the boundary of the polygon(s). For linestrings, returns a multipoint equal to the endpoints of the linestring. For points, returns an empty geometry collection.
geo buffer Buffer Returns a polygonal geometry representing the input geometry enlarged by a given distance around its exterior.
geo centroid Centroid Returns the geometric centroid of a geometry. Output is a single point. The centroid point may be located outside the geometry.
geo contains Contains Test Tests if no points of the second geometry lie in the exterior of the first geometry and at least one point of the interior of second geometry lies in the interior of first geometry.
geo convexHull Convex Hull Returns the smallest convex polygon that contains the entire input geometry.
geo crosses Crosses Test Tests if two geometries have some, but not all, interior points in common.
geo densify Densify Returns a spatially equivalent geometry with vertices added to ensure line segments are no longer than a given distance.
geo difference Difference Returns a geometry representing the points that are contained in a geometry but not contained in a second geometry. The result may be a heterogeneous geometry collection.
geo dimension Dimension Returns the largest dimension of a geometry or geometry collection: 0 for point, 1 for line, 2 for polygon.
geo disjoint Disjoint Test Tests if two geometries do not have any points in common.
geo distance Distance Returns the minimum distance between two geometries. Measurement is given in the input units, so geographic coordinates are not recommended.
geo endPoint End Point Returns a point geometry equal to the final vertex of a LineString.
geo envelope Envelope Returns the smallest bounding box polygon that contains a geometry. For a point geometry, returns the same point.
geo equalsExact Exactly Equal Test Tests if two geometries are identical on a vertex-by-vertex basis.
geo equalsExactTolerance Exactly Equal Test with Tolerance Tests if two geometries are identical on a vertex-by-vertex basis, up to a vertex distance tolerance.
geo exteriorRing Exterior Ring Returns the exterior ring of a polygonal geometry.
geo geometryType Geometry Type Returns the name of a geometry's type. Values are one of POINT, LINESTRING, POLYGON, MULTIPOINT, MULTILINESTRING, MULTIPOLYGON, GEOMETRYCOLLECTION.
geo getGeometryN Nth Geometry Returns the geometry element at a given index in a geometry collection. Indexing starts at 0.
geo getX Get X Ordinate Returns the X value (first ordinate) for point geometries. For other geometry types returns the X value of the centroid.
geo getY Get Y Ordinate Returns the Y value (second ordinate) for point geometries. For other geometry types returns the Y value of the centroid.
geo interiorPoint Interior Point Returns a point that lies inside a geometry if possible, or that lies on its boundary.
geo interiorRingN Nth Interior Ring Returns a linear ring from a polygon containing interior rings (holes) determined by a given index. First interior ring has index 0. If no interior rings, returns null.
geo intersection Intersection Returns a geometry representing the points that two geometries have in common. The result may be a heterogeneous geometry collection. If no intersection, returns an empty geometry.
geo intersects Intersects Test Tests if two geometries intersect.
geo isClosed Closed Test Tests if the initial vertex equals the final vertex in a linear geometry. Points and polygons always return True.
geo isEmpty Empty Test Tests if a geometry contains no vertices.
geo isRing Ring Test Tests if a geometry is both closed and simple.
geo isSimple Simple Test Tests if a geometry is topologically simple. Points, polygons, closed line strings, and linear rings are always simple. Other geometries are considered simple if no two points are identical.
geo isValid Valid Test Tests if a geometry is topologically valid.
geo isWithinDistance Within Distance Test Tests if the minimum distance between two geometries is less than a tolerance value.
geo length Length Returns the total length of all line segments in a geometry. Measurement is given in the source units, so geographic coordinates are not recommended.
geo numGeometries Geometry Count Returns the total number of elements in a geometry collection. If not a geometry collection, returns 1. If empty, returns 0.
geo numInteriorRing Interior Ring Count Returns the total number of interior rings in a polygonal geometry. Points and lines return 0.
geo numPoints Number of Points Returns the number of vertices in a given geometry.
geo overlaps Overlaps Test Tests if two geometries share some but not all interior points. Points or lines will always return False.
geo pointN Nth Point Returns a point geometry equal to the Nth vertex in a geometry as determined by a given index. First vertex has index 0.
geo polygonize Polygonize Creates a set of polygons from linestrings delineating them. The linestrings must be correctly noded (i.e. touch only at endpoints).
geo relate Relate Matrix String Returns the DE-9IM intersection matrix string for the spatial relationship between the input geometries. The matrix string is in the form [II][IB][IE][BI][BB][BE][EI][EB][EE] where I=interior, B=boundary, and E=exterior. Matrix symbols are 2, 1, 0 or F.
geo relatePattern Relate Test Tests if the spatial relationship between two geometries matches the given DE-9IM intersection matrix pattern. The pattern is given in the form [II][IB][IE][BI][BB][BE][EI][EB][EE] where I=interior, B=boundary, and E=exterior. Pattern symbols can be 2, 1, 0, F or *.
geo reproject Reproject Geometry Reprojects a given geometry into a supplied coordinate reference system.
geo simplify Simplify Returns a geometry that has been simplified (reduced in vertices) according to the Douglas-Peucker algorithm.
geo splitPolygon Split Polygon Splits a polygon by a linestring
geo startPoint Start Point Returns a point geometry equal to the first vertex of a LineString.
geo symDifference Symmetric Difference Returns a geometry representing the points contained in either one of two geometries but not in both. The result may be a heterogeneous geometry collection.
geo touches Touches Test Tests if two geometries have at least one boundary point in common, but share no interior points.
geo union Union Returns a geometry representing all points contained in any of the geometries in a geometry collection.
geo within Within Test Tests if the first geometry is contained in the second geometry.
gs AddCoverages Add Coverages Returns a raster generated by pixel-by-pixel addition of two source rasters. Source rasters must have the same bounding box and resolution.
gs Aggregate Aggregate Computes one or more aggregation functions on a feature attribute. Functions include Count, Average, Max, Median, Min, StdDev, and Sum.
gs AreaGrid Area Grid Computes a raster grid of given geographic extent with cell values equal to the area the cell represents on the surface of the earth. Area is computed using the EckertIV projection.
gs BarnesSurface BarnesSurface Uses Barnes Analysis to compute an interpolated surface over a set of irregular data points.
gs Bounds Bounds Computes the bounding box of the input features.
gs BufferFeatureCollection Buffer Buffers features by a distance value supplied either as a parameter or by a feature attribute. Calculates buffers based on Cartesian distances.
gs Centroid Centroid Computes the geometric centroids of features
gs Clip Clip Clips (crops) features to a given geometry
gs CollectGeometries Collect Geometries Collects the default geometries of the input features and combines them into a single geometry collection
gs Contour Contour Computes contour lines at specified intervals or levels for the values in a raster.
gs Count Count Features Computes the number of features in a feature collection.
gs CropCoverage Crop Coverage Returns the portion of a raster bounded by a given geometry.
gs Feature Feature from Geometry Converts a geometry into a feature collection.
gs GeorectifyCoverage Georectify Coverage Georectifies a raster via Ground Control Points using gdal_warp
gs GetFullCoverage GetFullCoverage Returns a raster from the catalog, with optional filtering
gs Grid Grid Generates a georeferenced regular grid of cells. Output contains the attributes: cell - the cell polygon; id - a unique identifier; centerX and centerY - the ordinates of the cell center.
gs Heatmap Heatmap Computes a heatmap surface over a set of data points and outputs as a single-band raster.
gs Import Import to Catalog Imports a feature collection into the catalog
gs InclusionFeatureCollection Inclusion of Feature Collections Returns a feature collection consisting of the features from the first collection which are spatially contained in at least one feature of the second collection.
gs IntersectionFeatureCollection Intersection of Feature Collections Spatial intersection of two feature collections, including combining attributes from both.
gs LRSGeocode Geocode point in LRS Extracts points at a given measure from LRS features
gs LRSMeasure Measure point in LRS Computes the measure of a point along a feature (as feature with attribute lrs_measure). The point is measured along the nearest feature.
gs LRSSegment Extract Segment in LRS Extracts segment between a given start and end measure from LRS features
gs MultiplyCoverages Multiply Coverages Returns a raster generated by pixel-by-pixel multiplication of two source rasters. Source rasters must have the same bounding box and resolution.
gs Nearest Nearest Feature Returns the feature in a given feature collection that has the smallest distance to a given point.
gs PagedUnique PagedUnique Gets the list of unique values for the given featurecollection on a specified field, allows optional paging
gs PointBuffers Point Buffers Returns a collection of circular buffer polygons with specified radii centered on a given point
gs PointStacker Point Stacker Aggregates a collection of points over a grid into one point per grid cell.
gs PolygonExtraction Polygon Extraction Extracts vector polygons from a raster, based on regions which are equal or in given ranges
gs Query Query Queries a feature collection using an optional filter and an optional list of attributes to include. Can also be used to convert feature collection format.
gs RangeLookup Reclassify Reclassifies a continous raster into integer values defined by a set of ranges
gs RasterAsPointCollection Raster As Point Collection Returns a collection of point features for the pixels of a raster. The band values are provided as attributes.
gs RasterZonalStatistics Raster Zonal Statistics Computes statistics for the distribution of a certain quantity in a set of polygonal zones.
gs RectangularClip Rectangular Clip Clips (crops) features to the specified rectangular extent
gs Reproject Reproject Features Reprojects features into a supplied coordinate reference system. Can also force a feature collection to have a given CRS.
gs ReprojectGeometry Reproject Geometry Reprojects a given geometry into a supplied coordinate reference system.
gs ScaleCoverage Scale Coverage Returns a scaled and translated version of a given raster
gs Simplify Simplify Simplifies feature geometry by reducing vertices using Douglas-Peucker simplification.
gs Snap Snap Returns the feature in a feature collection nearest to a given point. Attributes for distance and bearing are added.
gs StoreCoverage Store Coverage Stores a raster on the server.
gs StyleCoverage Style Coverage Styles a raster using a given SLD and raster symbolizer.
gs Transform Transform Computes a new feature collection from the input one by renaming, deleting, and computing new attributes. Attribute values are specified as ECQL expressions in the form name=expression.
gs UnionFeatureCollection Union Feature Collections Returns single feature collection containing all features from two input feature collections. The output attribute schema is a combination of the attributes from the inputs. Attributes with same name but different types will be converted to strings.
gs Unique Unique Returns the unique values of a given attribute in a feature collection.
gs VectorZonalStatistics Vector Zonal Statistics Computes statistics for the distribution of a given attribute in a set of polygonal zones. Input must be points.
gt VectorToRaster Transform Converts some or all of a feature collection to a raster grid, using an attribute to specify cell values.
polygonlabelprocess PolyLabeller Polygon label process Calculate the Pole of accessibility, the most distant interior point in a polygon.
ras AddCoverages Add Coverages Returns a raster generated by pixel-by-pixel addition of two source rasters. Source rasters must have the same bounding box and resolution.
ras Affine Transformed Coverage Returns the result of an Affine transformation on the input raster.
ras AreaGrid Area Grid Computes a raster grid of given geographic extent with cell values equal to the area the cell represents on the surface of the earth. Area is computed using the EckertIV projection.
ras BandMerge Merge Coverages Returns a raster generated by the merge of the input raster bands. Source rasters must have the same CRS.
ras BandSelect Select Coverages Returns a raster generated by the selection of some bands from the input raster.
ras Contour Contour Computes contour lines at specified intervals or levels for the values in a raster.
ras CoverageClassStats coverageClassStats Calculates statistics from coverage values classified into bins/classes.
ras CropCoverage Crop Coverage Returns the portion of a raster bounded by a given geometry.
ras Jiffle Jiffle map algebra Map algebra powered by Jiffle
ras MultiplyCoverages Multiply Coverages Returns a raster generated by pixel-by-pixel multiplication of two source rasters. Source rasters must have the same bounding box and resolution.
ras NormalizeCoverage Normalize Coverage Normalizes a coverage by dividing values by the max value
ras PolygonExtraction Polygon Extraction Extracts vector polygons from a raster, based on regions which are equal or in given ranges
ras RangeLookup Reclassify Reclassifies a continous raster into integer values defined by a set of ranges
ras RasterAsPointCollection Raster As Point Collection Returns a collection of point features for the pixels of a raster. The band values are provided as attributes.
ras RasterZonalStatistics Raster Zonal Statistics Computes statistics for the distribution of a certain quantity in a set of polygonal zones.
ras ScaleCoverage Scale Coverage Returns a scaled and translated version of a given raster
ras StyleCoverage Style Coverage Styles a raster using a given SLD and raster symbolizer.
ras TransparencyFill TransparencyFill Fill transparent pixels
vec Aggregate Aggregate Computes one or more aggregation functions on a feature attribute. Functions include Count, Average, Max, Median, Min, StdDev, and Sum.
vec BarnesSurface BarnesSurface Uses Barnes Analysis to compute an interpolated surface over a set of irregular data points.
vec Bounds Bounds Computes the bounding box of the input features.
vec BufferFeatureCollection Buffer Buffers features by a distance value supplied either as a parameter or by a feature attribute. Calculates buffers based on Cartesian distances.
vec Centroid Centroid Computes the geometric centroids of features
vec ClassifyByRange ClassifyByRange Computes a new attribute to classify another attribute by intervals over vector data sets.
vec Clip Clip Clips (crops) features to a given geometry
vec CollectGeometries Collect Geometries Collects the default geometries of the input features and combines them into a single geometry collection
vec Count Count Features Computes the number of features in a feature collection.
vec Feature Feature from Geometry Converts a geometry into a feature collection.
vec FeatureClassStats featureClassStats Calculates statistics from feature values classified into bins/classes.
vec Grid Grid Generates a georeferenced regular grid of cells. Output contains the attributes: cell - the cell polygon; id - a unique identifier; centerX and centerY - the ordinates of the cell center.
vec Heatmap Heatmap Computes a heatmap surface over a set of data points and outputs as a single-band raster.
vec InclusionFeatureCollection Inclusion of Feature Collections Returns a feature collection consisting of the features from the first collection which are spatially contained in at least one feature of the second collection.
vec IntersectionFeatureCollection Intersection of Feature Collections Spatial intersection of two feature collections, including combining attributes from both.
vec LRSGeocode Geocode point in LRS Extracts points at a given measure from LRS features
vec LRSMeasure Measure point in LRS Computes the measure of a point along a feature (as feature with attribute lrs_measure). The point is measured along the nearest feature.
vec LRSSegment Extract Segment in LRS Extracts segment between a given start and end measure from LRS features
vec Nearest Nearest Feature Returns the feature in a given feature collection that has the smallest distance to a given point.
vec PointBuffers Point Buffers Returns a collection of circular buffer polygons with specified radii centered on a given point
vec PointStacker Point Stacker Aggregates a collection of points over a grid into one point per grid cell.
vec Query Query Queries a feature collection using an optional filter and an optional list of attributes to include. Can also be used to convert feature collection format.
vec RectangularClip Rectangular Clip Clips (crops) features to the specified rectangular extent
vec Reproject Reproject Features Reprojects features into a supplied coordinate reference system. Can also force a feature collection to have a given CRS.
vec Simplify Simplify Simplifies feature geometry by reducing vertices using Douglas-Peucker simplification.
vec Snap Snap Returns the feature in a feature collection nearest to a given point. Attributes for distance and bearing are added.
vec Transform Transform Computes a new feature collection from the input one by renaming, deleting, and computing new attributes. Attribute values are specified as ECQL expressions in the form name=expression.
vec UnionFeatureCollection Union Feature Collections Returns single feature collection containing all features from two input feature collections. The output attribute schema is a combination of the attributes from the inputs. Attributes with same name but different types will be converted to strings.
vec Unique Unique Returns the unique values of a given attribute in a feature collection.
vec VectorToRaster Transform Converts some or all of a feature collection to a raster grid, using an attribute to specify cell values.
vec VectorZonalStatistics Vector Zonal Statistics Computes statistics for the distribution of a given attribute in a set of polygonal zones. Input must be points.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment