OGR JOIN performance problem on Linux

Frank Warmerdam warmerdam at POBOX.COM
Thu Aug 12 04:00:52 EDT 2004


bartvde at xs4all.nl wrote:
> Hi Frank,
>
> Seems like a silly question, but how do you index shapefiles with ogr? I
> can't seem to find it anywhere.

Bart,

It is covered briefly in the OGR SQL document:

   http://www.remotesensing.org:16080/gdal/ogr/ogr_sql.html

A command like this will do it:

   ogrinfo idlink.dbf -sql 'create index on idlink using eas_id'

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the mapserver-users mailing list