POST /api/common
POST
/api/common
Returns results on if a location is inside a polygon or not. Recommended to use for high-level checking.
This specific endpoint does not auto-scale geohash precision, ensure your initial polygon points have precision or use another endpoint.
Body
function
'inside'
Static
points
array
precision
int
Default is 6
locations
Example
{ .. other params "points": [ [float, float], [float, float], [float, float], [float, float], ... ], "locations": [ { "latitude": float, "longitude": float } ... ] }
Response
Last updated 1 year ago
[ { "latitude": float, "longitude": float, "is_inside": bool } ... ]
{ "error": "Error Message Here" }