[PostGIS] #5885: ST_Intersection with gridSize argument does not internally use ReducePrecision ?
PostGIS
trac at osgeo.org
Thu Apr 24 15:06:54 PDT 2025
#5885: ST_Intersection with gridSize argument does not internally use
ReducePrecision ?
----------------------+----------------------------
Reporter: strk | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 3.1.13
Component: postgis | Version: 3.1.x
Resolution: | Keywords:
----------------------+----------------------------
Comment (by mdavis):
Replying to [comment:2 strk]:
> It looks like the PostGIS side just calls GEOSIntersectionPrec without
any previous call to GEOSGeom_setPrecision, this was likely a mistake in
the original implementation.
This is by design. Reducing precision can be an expensive operation
(particularly on polygonal inputs). And it's not needed if the inputs are
already known to be precise. So it's intentionally left up to the user to
reduce the input precision if it's needed.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5885#comment:4>
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