Re: GeoDjango: Extract Latitude and Longitude from PointField
... point = models.PointField()... Longitude: {{point.x}} Latitude: {{point.y}} --~--~-~--~~~---~--~~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: GeoDjango: Extract Latitude and Longitude from PointField
On Wed, 2009-01-14 at 09:49 -0800, Alfonso wrote: > 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... > > > Latitude: > Longitude: > > > Thanks, > > Al {{ Point.y }} {{ Point.x }} should do the trick. Cheers, Cliff --~--~-~--~~~---~--~~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
GeoDjango: Extract Latitude and Longitude from PointField
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... Latitude: Longitude: Thanks, Al --~--~-~--~~~---~--~~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---