Hi GeoDjango,
I am struggling with a simple problem, but I can't find a solution (via google or stackoverflow). I am hoping someone of the GeoDjango group knows the answer.
In my model I have a polygon field defined via
polygon = models.PolygonField(srid=4326, geography=True, null=True, blank=True)When I want to determine the area of the polygon, I call
area_square_degrees = object.polygon.areaBut how can I convert the result in square degrees into m2 with GeoDjango? This answer does not work, sincearea does not have a method sq_m. Is there any built-in conversion available in GeoDjango?
Thank your for your reply!
Best regards,
Hannes
--
You received this message because you are subscribed to the Google Groups "geodjango" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geodjango+...@googlegroups.com.
To post to this group, send email to geod...@googlegroups.com.
Visit this group at http://groups.google.com/group/geodjango.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to a topic in the Google Groups "geodjango" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/geodjango/6NkzCV5bZrc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to geodjango+...@googlegroups.com.