Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
GeoDjango looses Z info on transform
from django.contrib.gis.geos import Point
p = Point(x=604567.28, y=8615808.59, z=221.14, srid=31980)
print p.x, p.y, p.z
# 604567.28 8615808.59 221.14
print p.x, p.y, p.z
# -62.0375842938 -12.5195091838 None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment