[gdal-dev] Spatial Indexes for Memory Layers?

Even Rouault even.rouault at mines-paris.org
Mon Nov 14 13:25:15 EST 2011


Le lundi 14 novembre 2011 18:10:51, Ethan Alpert a écrit :
> Curious if there's any way to create spatial indexes for in memory
> layers?
> 

Ethan

No, they are not supported by the OGR Memory driver.

But... if you use the very latest trunk with spatialite support, the OGR 
SQLite driver now supports the VSI virtual file API, which enable you to create 
a spatialite DB in "/vsimem/foo.db" for example and thus taking advantage of 
spatial index.

Best regards,

Even


More information about the gdal-dev mailing list