[postgis-devel] [PostGIS] #409: ST_AsSVG - degraded

PostGIS trac at osgeo.org
Fri Feb 5 13:13:29 PST 2010


#409: ST_AsSVG - degraded
----------------------+-----------------------------------------------------
 Reporter:  sdikiy    |       Owner:  pramsey
     Type:  defect    |      Status:  new    
 Priority:  critical  |   Milestone:         
Component:  postgis   |     Version:  1.4.X  
 Keywords:  AsSVG     |  
----------------------+-----------------------------------------------------
 (1)[[BR]]
 SELECT PostGIS_Full_Version();[[BR]]
 "POSTGIS="1.1.6" GEOS="2.2.3-CAPI-1.1.1" PROJ="Rel. 4.5.0, 22 Oct 2006"
 USE_STATS"

 select AsText(Intersection('POINT(0 0)'::geometry, 'LINESTRING ( 2 0, 0 2
 )'::geometry));[[BR]]
 "GEOMETRYCOLLECTION EMPTY"

 select AsSVG(Intersection('POINT(0 0)'::geometry, 'LINESTRING ( 2 0, 0 2
 )'::geometry));[[BR]]
 ""

 (2)[[BR]]
 SELECT PostGIS_Full_Version();[[BR]]
 "POSTGIS="1.4.0" GEOS="3.1.1-CAPI-1.6.0" PROJ="Rel. 4.6.1, 21 August 2008"
 USE_STATS"

 select ST_AsText(ST_Intersection('POINT(0 0)'::geometry, 'LINESTRING ( 2
 0, 0 2 )'::geometry));[[BR]]
 "GEOMETRYCOLLECTION EMPTY"

 select ST_AsSVG(ST_Intersection('POINT(0 0)'::geometry, 'LINESTRING ( 2 0,
 0 2 )'::geometry));[[BR]]
 ERROR:  invalid memory alloc request size 4294967294[[BR]]
 ********** Error **********[[BR]]
 ERROR: invalid memory alloc request size 4294967294[[BR]]
 SQL state: XX000[[BR]]

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/409>
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