[postgis-tickets] [PostGIS] #1852: Include geos version at build time in postgis_full_version()

PostGIS trac at osgeo.org
Sat Mar 30 04:26:00 PDT 2013


#1852: Include geos version at build time in postgis_full_version()
-------------------------+--------------------------------------------------
 Reporter:  strk         |       Owner:  pramsey      
     Type:  enhancement  |      Status:  new          
 Priority:  medium       |   Milestone:  PostGIS 2.1.0
Component:  postgis      |     Version:  2.0.x        
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by strk):

 Some GEOS features are off when you build PostGIS against an older GEOS.
 After you upgrade GEOS you see the _new_ version reported by
 postgis_full_version() and can wonder "why don't I have this
 functionality?"

 I've added the build-time version of GEOS into the error message that
 comes out when you try to access the unavailable functionality, but it's
 still confusing.

 Example (made out):

 {{{
  $ SELECT ST_SharedPaths(x,y) FROM mytable;
  ERROR: you need GEOS 3.3.0+ for this to work
  $ SELECT postgis_full_version();
  ... GEOS 3.3.8 ...
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1852#comment:2>
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-tickets mailing list