[geos-devel] troubles understanding GEOS

Tobias Nothdurft t.nothdurft at tu-bs.de
Tue Nov 28 10:52:44 EST 2006


Hello.

> Databases provide you with a higher layer of abstraction. With PostGIS,
> you can e. G. load all your linestrings in a table, create an
> geometrical index on it, and then easily and efficiently fetch all
> linestrings in a specific area with a query like:
> 
> SELECT * FROM mytable WHERE the_geom && 'BOX(1 2,3 4)'::box2d;

That sounds nice. 

So I can use a SQL commando like the above instead of using a quadtree?

Tobias



More information about the geos-devel mailing list