[postgis-devel] Re: LW_GEOM questions
schabios at logi-track.com
Mon Apr 19 06:03:58 PDT 2004
On Wed, 14 Apr 2004 10:11:48 -0700
David Blasby <dblasby at refractions.net> wrote:
> ps. I have indexing working right now. I'm finding that it takes
> about 400ms to do 1000 sub-queries using LWGEOM, and the standard
> postgis geometries only takes 100ms. Thats about 0.3ms per
> index-search slower.
> I think this is being causes because the bounding box of the search
> lwgeom geometry has to be calculated (but its already avaiable in the
> postgis geometry).
Could you run a benchmark on a larger dataset that involves harddisk
And what about the proposal to include the bbox for large geometries?
(Maybe you could add the 4 floats = 16 bytes after the last geometry,
so the offsets for the other code doesn't change? It might even be
sensible to move the SRID to the end of the serialized format for this
markus schaber | dipl. informatiker
logi-track ag | rennweg 14-16 | ch 8001 zürich
phone +41-43-888 62 52 | fax +41-43-888 62 53
mailto:schabios at logi-track.com | www.logi-track.com
More information about the postgis-devel