Tuesday, January 31, 2012

GIS Distance from Point to Geometry Collection

I have a model that currently stores a Geographic Point (Using Django
GIS (GeoDjango)) and another model that has a field to store a
geometry collection (A collection of polygons, lines, and or points).

I am trying to find the distance from the point to any one of the
shapes in the geometry collection. Apparently the distance function
only works on single shapes, not a collection. Are there any
workarounds to this?

Any help is appreciated.

Thanks.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment