GeoDjango: Extract Latitude and Longitude from PointField
3,303 views
Skip to first unread message
Alfonso
unread,
Jan 14, 2009, 12:49:30 PM1/14/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
Hey,
Must be missing something extraordinarily simple - how do I
individually parse the latitude and longitude values from a PointField
entry into my app's templates? I just want...
<div>
Latitude:
Longitude:
</div>
Thanks,
Al
J. Cliff Dyer
unread,
Jan 14, 2009, 1:03:08 PM1/14/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
{{ Point.y }} {{ Point.x }}
should do the trick.
Cheers, Cliff
Ariel Mauricio Nunez Gomez
unread,
Jan 14, 2009, 1:03:46 PM1/14/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message