Opened 9 years ago

Closed 9 years ago

#1663 closed defect (fixed)

ST_Summary output contains a spurious "+" sign

Reported by: strk Owned by: pramsey
Priority: medium Milestone: PostGIS 2.0.0
Component: postgis Version: master
Keywords: Cc:

Description

strk=# select ST_Summary('POINT(0 0)'::geometry);
 st_summary 
------------
 Point[]   +
 
(1 row)

This is against postgresql 9.1, with:

POSTGIS="2.0.0beta2SVN" GEOS="3.3.2dev-CAPI-1.7.2" PROJ="Rel. 4.8.0, 20 February 2012" GDAL="GDAL 1.9.0, released 2011/12/29" LIBXML="2.7.6" SVN_REVISION=9419 USE_STATS (procs from 2.0 r0 need upgrade)

NOTE: can't upgrade because "cannot drop function addgeometrycolumn(character varying,character varying,character varying,character varying,integer,character varying,integer,boolean) because extension postgis requires it"

Change History (3)

comment:1 Changed 9 years ago by strk

I dropped the DB and recreated ex-novo, same ST_Summary bug. Version this time:

 POSTGIS="2.0.0beta2SVN r9419" GEOS="3.3.2dev-CAPI-1.7.2" PROJ="Rel. 4.8.0, 20 February 2012" GDAL="GDAL 1.9.0, released 2011/12/29" LIBXML="2.7.6" LIBJSON="UNKNOWN"

comment:2 Changed 9 years ago by strk

Note: postgresql 8.4 is _not_ affected !

comment:3 Changed 9 years ago by pramsey

Resolution: fixed
Status: newclosed

One might also note that the function only supports SFSQL 1.0 types. Terminal newlines removed at r9420

Note: See TracTickets for help on using tickets.