[postgis-users] ST_Transform troubles

Frans Knibbe frans.knibbe at geodan.nl
Thu Jun 23 06:19:56 PDT 2011


Hello all,

I am having some problems with the output of ST_Transform. To illustrate 
the problem, I have a point in the EPSG:28992 SRS:

POINT(253328 593188)

I want to transform it to WGS84 (EPSG:4326). This is the output of 
ST_Transform:

POINT(6.86264236062518 53.3160795502069)

There are two things wrong with this result:
1) The coordinates are in the wrong order (EPSG:4326 uses latitude, 
longitude).
2) There are too much significant numbers in the result (the implied 
accuracy was increased by ST_Transform).

I would have expected a result like

POINT(53.31608 6.86264)

Is there a way to improve the way ST_Transform works?

Thanks,
Frans




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20110623/1d9328dc/attachment.html>


More information about the postgis-users mailing list