[postgis-users] Z coordinate value changes with st_transform
Jose Carlos Martinez
jomarlla at cgf.upv.es
Tue Mar 27 10:02:57 PDT 2012
Hi, dont know if this is the expected behavior, maybe its because I
built postgis with proj 4.8 or because something has changed in
spatial_ref_sys. Dont know at what time it happened (I missed it).
Before:
pg20=# select st_astext(st_transform(st_geomfromtext('POINT (700000
4500000 100)', 23030), 4326));
st_astext
--------------------------------------------------------------
POINT Z (-0.63662073736203 40.6248036513963 100)
Now:
pg20=# select st_astext(st_transform(st_geomfromtext('POINT (700000
4500000 100)', 23030), 4326));
st_astext
--------------------------------------------------------------
POINT Z (-0.63662073736203 40.6248036513963 168.35361468256)
Using ST_AsKml Its changing the Z coordinate too.
Someone can confirm when this change happened in PostGIS?
Regards,
Jose
More information about the postgis-users
mailing list