On Feb 13, 6:25 am, Alfonso wrote:
> How do I grab the center x and y co-ordinates of a polygon and display
> that in a template?
{{ poly.centroid.x }}, {{ poly.centroid.y }}
Note that the centroid point is not guaranteed to be on the surface of
the polygon -- if that turns out be an issue than
How do I grab the center x and y co-ordinates of a polygon and display
that in a template?
I'd do this with a PointField... {{ object.coords.x }} etc
Can I do that to get the center x and y points of a polygon?
Thanks
--~--~-~--~~~---~--~~
You received this messa
2 matches
Mail list logo