Distance from Point to Geometry Collection

21 views
Skip to first unread message

Loafer

unread,
Jan 31, 2012, 8:35:30 PM1/31/12
to geodjango
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.
Reply all
Reply to author
Forward
0 new messages