[postgis-tickets] [PostGIS] #1668: ST_AsText, ST_AsEWKT under Windows 64-bit PostGIS 64-bit is all screwy
PostGIS
trac at osgeo.org
Fri Apr 12 12:32:33 PDT 2013
#1668: ST_AsText, ST_AsEWKT under Windows 64-bit PostGIS 64-bit is all screwy
----------------------+-----------------------------------------------------
Reporter: robe | Owner: robe
Type: defect | Status: closed
Priority: medium | Milestone: PostGIS 2.0.4
Component: postgis | Version: trunk
Resolution: fixed | Keywords: mingw64, history
----------------------+-----------------------------------------------------
Comment(by jesseeichar):
Just as an additional quick test. I think it is related. Could you try
the following out on you system:
select ST_AsText(ST_GeomFromText('POLYGON ((8.176 47.222, 8.174 47.227,
8.185 47.235, 8.183 47.24, 8.179 47.241, 8.173 47.236, 8.172 47.228, 8.161
47.232, 8.156 47.239, 8.18 47.246, 8.207 47.25, 8.208 47.247, 8.202
47.226, 8.176 47.222))'))
On a 64 bit windows 8 install with
"PostgreSQL 9.2.3, compiled by Visual C++ build 1600, 32-bit"
"POSTGIS="2.0.3 r11132" GEOS="3.3.8-CAPI-1.7.8" PROJ="Rel. 4.8.0, 6
March 2012" GDAL="GDAL 1.9.2, released 2012/10/08" LIBXML="2.7.8"
LIBJSON="UNKNOWN" TOPOLOGY RASTER"
I get the obviously broken result:
"POLYGON((8.176 47.222,8.174 47.227,8.185 47.235,8.183 47.24,8.179
47.241,8.173 47.236,8.172 47.228,8.161 47.232,8.156 47.239, , 47.25,8.208
47.247,8.202 47.226,8.176 47.222))"
(Notice the 8.156 47.239, , 47.25)
Thanks,
Jesse
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1668#comment:57>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list