-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Milestone
Description
API Version
1.5.0
Summary
The /operator/regions endpoint only supports returning a GeoJSON representation of a Polygon. Ideally, it should allow for MultiPolygon types too, as these are also part of the official GeoJSON spec.
Expected Behavior
We expect the /operator/regions endpoint (wiki) to work with a GeoJSON representation of a MultiPolygon without any issues.
Current Behavior
The current behavior is that the serviceArea field in the /operators/region endpoint only works for a singular Polygon, not a MultiPolygon.
Possible Solution
Modifying the existing endpoint to allow for MultiPolygon types to be returned too.
Steps to Reproduce
- Try to return a GeoJSON representation of a
MultiPolygonin the/operator/regionsendpoint. - The endpoint won't process the
MultiPolygoncorrectly.
Context (Environment)
We've started returning MultiPolygons to our TOMP integration, but the specification does not allow for it. This limitation is causing us to implement custom workarounds to handle MultiPolygon types.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels