[postgis-devel] [PostGIS] #1668: ST_AsText, ST_AsEWKT under Windows 64-bit PostGIS 64-bit is all screwy

PostGIS trac at osgeo.org
Thu Mar 8 08:07:50 PST 2012


#1668: ST_AsText, ST_AsEWKT under Windows 64-bit PostGIS 64-bit is all screwy
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  high     |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:  mingw64  |  
---------------------+------------------------------------------------------

Comment(by robe):

 reran check and Cunit consistently crashes on:

 {{{
  Test: out_kml_test_geoms ...
 }}}

 I do note that when I was trying ST_AsKML it was outputting blanky.

 -- this test --
 {{{
 SELECT ST_AsKML(ST_Buffer(ST_GeomFromText('POINT(1
 2)',4326),1,'quad_segs=3'));
 }}}

 -- run on my PostGIS 2.0.0 beta2 mingw64 --
 returns nothing

 -- run on my PostGIS 1.5.3 mingw64 --
 returns:

 {{{
 <Polygon><outerBoundaryIs><LinearRing><coordinates>2,2
 1.866025403784439,1.5 1.500000000000001,1.133974596215562
 1.000000000000001,1 0.500000000000002,1.13397459621556
 0.133974596215563,1.499999999999998 0,1.999999999999997
 0.133974596215559,2.499999999999996 0.499999999999997,2.866025403784437
 0.999999999999995,3 1.499999999999996,2.866025403784441
 1.866025403784436,2.500000000000005
 2,2</coordinates></LinearRing></outerBoundaryIs></Polygon>
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1668#comment:3>
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-devel mailing list