Opened 5 months ago

Last modified 3 months ago

#5744 closed defect

ST_RemoveIrrelevantPointsForView() - Make optimizations based on cartesian math optional — at Version 1

Reported by: gluser1357 Owned by: pramsey
Priority: medium Milestone: PostGIS 3.5.0
Component: postgis Version: master
Keywords: Cc:

Description (last modified by gluser1357)

The latest optimizations of ST_RemoveIrrelevantPointsForView() (see changes in https://github.com/postgis/postgis/pull/767) for reducing the resulting point number make use of cartesian math and assume that coordinates won't be reprojected after applying ST_RemoveIrrelevantPointsForView() and before rendering.

This is fine for common use cases where no reprojection is taking place, but for other use cases (where coordinates are stored e. g. as lat/lon values, get pre-processed with ST_RemoveIrrelevantPointsForView(), reprojected and rendered), rendering artifacts might occur. For such use cases it would make sense to turn off those optimizations that use cartesian math. This can be achieved by using a new flag cartesian_hint. By default (if not specified), no optimizations are done.

Here the link to the PR that contains the required changes: https://github.com/postgis/postgis/pull/774

Change History (1)

comment:1 by gluser1357, 5 months ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.