Opened 6 years ago

Closed 5 years ago

#3528 closed enhancement (fixed)

Use tree-based distance calculation by default in geography

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

Description

The overhead of building the tree compared to the overhead of extra geodetic calculations means that we're better off just running the tree every time. See #3524.

Change History (4)

comment:1 by robe, 6 years ago

Cc: pramsey added

pramsey you still up for this? would be nice or want to punt for 2.4?

comment:2 by robe, 6 years ago

Milestone: PostGIS 2.3.0PostGIS 2.4.0

I'm going to assume you are too busy playing politics roulette to be bothered with the much funner (and might I add more rewarding work) of software development.

comment:3 by robe, 5 years ago

Milestone: PostGIS 2.4.0PostGIS 2.5.0

comment:4 by pramsey, 5 years ago

Resolution: fixed
Status: newclosed

In 16091:

Default to using the tree-based geography distance
calculation in all cases. (Closes #3528)
As implemented this results in trees being
calculated once more than is absolutely necessary
in the cached case, but changing that involves
re-working all the caching code for geos/geography/intersects
which is non-ideal.

Note: See TracTickets for help on using tickets.