[PostGIS] #5816: Failed Z-axis tolerance in ST_RemoveRepeatedPoints

PostGIS trac at osgeo.org
Tue Dec 10 05:51:41 PST 2024


#5816: Failed Z-axis tolerance in ST_RemoveRepeatedPoints
----------------------+---------------------------
  Reporter:  nbvfgh   |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  high     |  Milestone:  PostGIS 3.5.1
 Component:  postgis  |    Version:  3.5.x
Resolution:           |   Keywords:
----------------------+---------------------------
Comment (by nbvfgh):

 The use of 3D distance measurement mode is a great idea, and I suggest
 supporting it with new functions, just like other functions that handle 2D
 and 3D under the same semantics.

 Meanwhile, I suggest checking if there are any other spatial functions
 that have similar issues.

 Could this be a logical error caused by unclear documentation for users?

 Replying to [comment:1 mdavis]:
 > "Supports 3D" has a somewhat broad meaning. In this case it means that Z
 values are preserved.  However, the function uses a 2D distance metric to
 determine points to remove.  This should be made clear in the
 documentation.
 >
 > A mode that uses a 3D distance metric seems like a nice addition.  It
 could be invoked via a flag to this function, or perhaps via a new
 function `ST_RemoveRepeatedPointsZ`?
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5816#comment:3>
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