[postgis-tickets] [PostGIS] #4688: Improving performance of clipping with rectangles
PostGIS
trac at osgeo.org
Tue May 12 12:49:56 PDT 2020
#4688: Improving performance of clipping with rectangles
-------------------------+---------------------
Reporter: postgispaul | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone:
Component: postgis | Version: 2.5.x
Keywords: |
-------------------------+---------------------
There is some improvement possible when calculating the intersection of a
geometry g and a rectangle r that is completely covering the geometry g.
This can be useful f.e. if you want to clip geometries to exclude +90deg
or -90deg parts so it doesn't generate errors when converting to Mercator.
If r is indeed fully covering g then the intersection is just g.
This can easily be extended to union (result is r) although usecase is
unclear.
A bit harder but doable are difference and symdifference.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4688>
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