Ticket #409 (closed defect: fixed)
ST_AsSVG - degraded
| Reported by: | sdikiy | Owned by: | colivier |
|---|---|---|---|
| Priority: | critical | Milestone: | PostGIS 1.4.2 |
| Component: | postgis | Version: | 1.4.X |
| Keywords: | AsSVG | Cc: |
Description
(1)
SELECT PostGIS_Full_Version();
"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));
"GEOMETRYCOLLECTION EMPTY"
select AsSVG(Intersection('POINT(0 0)'::geometry, 'LINESTRING ( 2 0, 0 2 )'::geometry));
""
(2)
SELECT PostGIS_Full_Version();
"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));
"GEOMETRYCOLLECTION EMPTY"
select ST_AsSVG(ST_Intersection('POINT(0 0)'::geometry, 'LINESTRING ( 2 0, 0 2 )'::geometry));
ERROR: invalid memory alloc request size 4294967294
********** Error **********
ERROR: invalid memory alloc request size 4294967294
SQL state: XX000
