#11433: Complete support for 3D Geometries ---------------------------------+------------------------------------------ Reporter: jbronn | Owner: jbronn Status: new | Milestone: 1.2 Component: GIS | Version: SVN Resolution: | Keywords: gis 3d z Stage: Unreviewed | Has_patch: 1 Needs_docs: 1 | Needs_tests: 1 Needs_better_patch: 1 | ---------------------------------+------------------------------------------ Comment (by christ...@karrie.info):
I does not know if this belongs to my problem: I save in my model with {{{ from django.contrib.gis.geos import Point ... class Point(...): .... x = models.DecimalField(max_digits=12, decimal_places=5, blank=True, null=True) y = models.DecimalField(max_digits=12, decimal_places=5, blank=True, null=True) z = models.DecimalField(max_digits=12, decimal_places=5, blank=True, null=True) xyz = models.PointField(default="SRID=4326;POINT(8.2122802734375 50.0042724609375 260.00)", blank=True) .... def save(): self.xyz = Point(x=float(self.x), y=float(self.y), z=float(self.z), srid=self.xyz.srid) ... }}} But when I go into the django shell, I get for {{{ >>> p = Point.objects.get(pk=1) >>> p.xyz.z >>> p.xyz.hasz False }}} -- Ticket URL: <http://code.djangoproject.com/ticket/11433#comment:3> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---