This PR adds a new /api/v2/municipalities endpoint which is able to return a list of municipalities in GeoJSON format.
Among other filters, it accepts a coords query parameter which must be specified in WKT format and it can be either a point or a polygon. This will be used to find intersecting municipalities.
This PR adds a new
/api/v2/municipalities
endpoint which is able to return a list of municipalities in GeoJSON format.Among other filters, it accepts a
coords
query parameter which must be specified in WKT format and it can be either a point or a polygon. This will be used to find intersecting municipalities.Example usage:
Response: