[geos-devel] Building Multipolygons from Rings

Sandro Santilli strk at keybit.net
Tue Jun 21 05:54:46 EDT 2011

On Tue, Jun 21, 2011 at 11:13:51AM +0200, Frederik Ramm wrote:

> Is there a way how I can somehow pre-process my 100k node polygon to
> make the "contains" queries go faster? I have the impression that
> "contains" must do some preprocessing internally, and that maybe the
> same preprocessing is repeated unnecessarily if I do 10,000
> "contains" checks for the same polygon?

Take a look at the Prepared geometry interfaces.


  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html

More information about the geos-devel mailing list