Answer the question
In order to leave comments, you need to log in
How to load data into MultiPolygonField from OSM format?
There is a simple model
from django.contrib.gis.db import models
class City(models.Model):
name = models.CharField(max_Length=255, unique=True)
area = models.MultuPolygonField()
City.objects.get(area__contains=Point(long,lat))
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question