[postgis-tickets] [PostGIS] #3366: Provide mechanism in liblwgeom to iterate over all points in a geometry

PostGIS trac at osgeo.org
Tue Nov 10 12:24:39 PST 2015


#3366: Provide mechanism in liblwgeom to iterate over all points in a geometry
--------------------------+---------------------------
  Reporter:  dbaston      |      Owner:  dbaston
      Type:  enhancement  |     Status:  new
  Priority:  medium       |  Milestone:  PostGIS 2.3.0
 Component:  postgis      |    Version:  trunk
Resolution:               |   Keywords:
--------------------------+---------------------------

Comment (by dbaston):

 It looks like we could supply an updated POINT4D* to ptarray_set_point4d,
 which can pull out the correct components from it (as appropriate for the
 point type).  The question then is how to provide the updated POINT4D* ?

 What are your thoughts on something like this?

 {{{
 lwpointiterator_modify_next(LWPOINTITERATOR* s, POINT4D*);
 }}}

 I guess a client would use this in conjunction with the peek and has_next
 functions to mutate the geometry.

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3366#comment:10>
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