[postgis-devel] [PostGIS] #212: compound curve in a curve polygon is flaky

PostGIS trac at osgeo.org
Thu Jul 2 16:36:10 PDT 2009


#212: compound curve in a curve polygon is flaky
----------------------+-----------------------------------------------------
  Reporter:  robe     |       Owner:  mleslie      
      Type:  defect   |      Status:  closed       
  Priority:  medium   |   Milestone:  postgis 1.4.0
 Component:  postgis  |     Version:  1.4          
Resolution:  fixed    |    Keywords:               
----------------------+-----------------------------------------------------
Changes (by mleslie):

  * status:  reopened => closed
  * resolution:  => fixed

Comment:

 ST_NumPoints is defined in SQL-MM as well, and similarly to it's
 definition in SF-SQL.  Basically it only works for linestrings and
 circularstrings.  For collections we return the number of points of the
 first linestring (or circstring).  We were doing this as well for
 curvepolygons, and skipping compound curves.  It was just a mess really.
 Should be predictable and correct now, if not actually useful.

 It was another case of compound curve being flaky in curve polygon
 (behaving inconsistently with line and circ), at least until I sorted out
 the expected behaviour.  It could have been it's own bug really.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/212#comment:12>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS


More information about the postgis-devel mailing list