Rendering spatial data of GeoQuerySet in a custom view on GeoDjango

Posted by dmytro on Stack Overflow See other posts from Stack Overflow or by dmytro
Published on 2010-06-14T00:35:32Z Indexed on 2010/06/14 0:42 UTC
Read the original article Hit count: 451

Filed under:
|
|
|
|

Hello.

I have just started my first project on GeoDjango.

As a matter of fact, with GeoDjango powered Admin application we all have a great possibility to view/edit spatial data, associated with the current object.

The problem is that after the objects having been populated I need to render several objects' associated geometry at once on a single map. I might implement it as a model action, redirecting to a custom view. I just don't know, how to include the OpenLayers widget in the view and how to render there my compound geometry from my GeoQuerySet.

I would be very thankful for any hint from an experienced GeoDjango programmer.

© Stack Overflow or respective owner

Related posts about django

Related posts about query