[postgis-devel] [PostGIS] #1117: ST_OffsetCurve function definition inconsistent with documentation

PostGIS trac at osgeo.org
Sat Jul 9 09:11:00 PDT 2011


#1117: ST_OffsetCurve function definition inconsistent with documentation
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  blocker  |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------
 According to the documentation, ST_OffsetCurve is supposed to take text.

 When I went to go install the documentation in my database, I get this
 error:


 {{{
  psql:share/contrib/postgis-2.0/postgis_comments.sql:564: ERROR: function
 st_offsetcurve( geometry, double precision, text ) does not exist
 }}}

 And I thought hmm -- I know I've got this function.  So I looked at it,
 and its defined with cstring?

 Why are we using cstring BTW.  Never understood what it's for.

 Anyrate. Which is right strk -- the documentation or the code?

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