Hello agian
I’ve created a simple model called ProvincialBorders where I’ve imported the GEOJSON file from this link: GeoJSON for South African provincial boundaries · GitHub
That gives me the borderes of all the provinces in South Africa and it works as I expected.
class ProvincialBorders(models.Model):
province = models.CharField(max_length=100)
geom = models.MultiPolygonField()
I have another model where I have single PointField.
class Bird(models.Model):
name = models.CharField(max_length=100)
location = models.PointField()
How can I check if the value of the Point is inside of the MultiPolygonField? If you can point me in the right direction it would be very much appriciated. Thanks