How I can calculate if a given longitude and latitude belong to a multipolygon area in python?
Example:
My "coordinates": [-46.57421, -21.785741] # My location
I need to verify that the coordinates above are within the multipolygon region below:
"coverageArea": {
"type": "MultiPolygon",
"coordinates": [
[[[30, 20], [45, 40], [10, 40], [30, 20]]],
[[[15, 5], [40, 10], [10, 20], [5, 10], [15, 5]]]
]
}
I have no idea where to start.