Ticket #1663 (closed defect: fixed)

Opened 15 months ago

Last modified 15 months ago

ST_Summary output contains a spurious "+" sign

Reported by: strk Owned by: pramsey
Priority: medium Milestone: PostGIS 2.0.0
Component: postgis Version: trunk
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

Changed 15 months 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"

Changed 15 months ago by strk

Note: postgresql 8.4 is _not_ affected !

Changed 15 months ago by pramsey

  • status changed from new to closed
  • resolution set to fixed

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.