SPL File GeometryMapMatcherTypes.spl
Content
- Types
-
- GeometryMapMatcherTypes.EdgeData: The GeometryMapMatcher operator generates a list of edges that are at least partially covered or are in proximity to the given geometry.
- GeometryMapMatcherTypes.ResultCode: The GeometryMapMatcher operator returns the following error codes from the getResultCode() custom output function.
Composites
composite GeometryMapMatcherTypes
Types that are used together with the GeometryMapMatcher operator.
Static Types
- GeometryMapMatcherTypes.EdgeData = tuple<int64 edgeId, float64 distance>;
-
The GeometryMapMatcher operator generates a list of edges that are at least partially covered or are in proximity to the given geometry. Each entry in the list contains the following fields:
- edgeId
The identifier of this edge as retrieved from the map data. This is the same id as given in the input data of the MapStore operator.
-
distance
Gives the minimum distance from the edge to the covering geometry in meters. The distance is the addition of the length of all edges from the returned edge, to one of the edges covered by the given geometry.
- edgeId
- GeometryMapMatcherTypes.ResultCode = enum { success, unspecifiedFailure, wktParseFailure, wktNoGeometriesFound, wktMoreThanOneGeometryFound, unsupportedGeometry, geometryBufferNegative, distanceThresholdNegative, lockFailure };
-
The GeometryMapMatcher operator returns the following error codes from the getResultCode() custom output function.
- success
The calculation of the affected edges succeeded.
-
unspecifiedFailure
An internal error occured. Check the logs and traces to get more information.
-
wktParseFailure
The WKT input string is not well formed, the parsing failed.
-
wktNoGeometriesFound
The WKT input string contains no geometry.
-
wktMoreThanOneGeometryFound
The WKT input string contains more than one geometry.
-
unsupportedGeometry
The geometry passed in the WKT input string is not supported by the operator. For example a LINESTRING does not work. Supported geometries are POINT, POLYGON and BOUNDINGBOX.
-
geometryBufferNegative
The parameter geometryBuffer is less than zero. This is not allowed.
-
distanceThresholdNegative
The parameter distanceThreshold is less than zero. This is not allowed.
-
lockFailure
The operator failed to acquire the read lock needed to access the map data.
- success