[OSM-dev] A proposal for linking multiple ways into a virtual polygon

Martijn van Oosterhout kleptog at gmail.com
Wed May 16 12:28:13 BST 2007

On 5/15/07, Jon Burgess <jburgess777 at googlemail.com> wrote:
> Yes, this can be speeded up easily by generating indexes for traversing
> node->segment->way but I fear this would add significantly to the memory
> usage (probably doubling it). The osm2pgsql code has already been
> criticised for excessive memory usage.

If you have a spatial index on ways you can simply do a bbox search on
the endpoints. That will not require any extra indexes...

Have a nice day,
Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/

More information about the dev mailing list