[PostGIS] #5762: ST_LocateBetween with offset drops ZM

PostGIS trac at osgeo.org
Mon Jul 8 08:25:33 PDT 2024


#5762: ST_LocateBetween with offset drops ZM
----------------------+-----------------------------
  Reporter:  pramsey  |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  medium   |  Milestone:  PostGIS Fund Me
 Component:  postgis  |    Version:  master
Resolution:           |   Keywords:
----------------------+-----------------------------
Changes (by pramsey):

 * milestone:  PostGIS 3.5.0 => PostGIS Fund Me

Comment:

 Ah, this is harder than it appears. The order of operations is

 * first clip the input line at the appropriate measure points
 * second offset the clipped line if necessary

 The second step is accomplished by GEOS, which does not preserve Z or M
 through the offsetting routine (or, frankly, preserve any of the original
 vertices, the resultant geometry can be entirely net-new).

 So this is not an easy fix, it's a very deep improvement in the offset
 routines of GEOS.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5762#comment:1>
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