Opened 10 years ago

Last modified 3 years ago

#853 new enhancement

topology.Envelope(TopoGeometry)

Reported by: strk Owned by: strk
Priority: medium Milestone: PostGIS Fund Me
Component: topology Version: master
Keywords: Cc:

Description

Currently, calling ST_Envelope(TopoGeometry) relies on a cast from TopoGeometry to Geometry, which is more expensive than needed, when only the bounding box is of interest (say, in building an index)

Change History (7)

comment:1 Changed 10 years ago by strk

More over: we really want a "quick" bounding box here, using caches if available. So maybe this should not be called "Envelope" as the Geometry equivalent (ST_Envelope) does not use the cached bounding box at all.

Probably what I'm looking for would be a BOX2D cast, but it seems we want to get rid of that type completely ? If we could get to whatever bounding box is quick to get and use that in bounding-box based operator it'd make a lot of sense to me.

So, what's the plan here ? Adding another indexable type to replace BOX2D ? Gbox ?

comment:2 Changed 9 years ago by strk

Milestone: PostGIS FuturePostGIS 2.0.0

So the plan became not doing anything with boxes.

comment:3 Changed 9 years ago by strk

Milestone: PostGIS 2.0.0PostGIS 2.1.0

comment:4 Changed 8 years ago by robe

strk - are you planning to do this like within the next month. If not PLEASE push to 2.2

comment:5 Changed 8 years ago by strk

Component: postgistopology
Milestone: PostGIS 2.1.0PostGIS 2.2.0
Owner: changed from pramsey to strk

comment:6 Changed 6 years ago by strk

Milestone: PostGIS 2.2.0PostGIS Future

comment:7 Changed 3 years ago by robe

Milestone: PostGIS FuturePostGIS Fund Me

Milestone renamed

Note: See TracTickets for help on using tickets.