I think a possible solution is to use :
http://django-floppyforms.readthedocs.org/en/latest/geodjango.html
the solution given in
http://stackoverflow.com/questions/559431/how-to-display-data-using-openlayers-with-openstreetmap-in-geodjango
didn't work for me
there was a problem with this
I am using dream weaver so when I deleted the heading
http://www.w3.org/1999/xhtml;>
the problem of plotting the openlayer map was resolved
Now my problem is still the mapping between the data to plot in the
map and the multipolygon field, in my object definition
On Apr 18, 1:12 pm, GARRAM karim
I am working on a GeoDjango project. I have a model.py wich extend the
user model and contains a MultiPolygonField
class Membre(models.Model):
user = models.ForeignKey(User, unique=True)
#some other attributes
mpoly = models.MultiPolygonField()
objects = models.GeoManager()
3 matches
Mail list logo