[Gdal-dev] OGRTINDEX support for Geodatabases?

Mateusz Loskot mateusz at loskot.net
Wed May 31 13:24:31 EDT 2006


Matt Wilkie wrote:
>> The other alternative is to build a DOS for loop to invoke
>> ogrtindex for each file via looping.
> 
> 
> e.g. for /r Z:\geodatabase %f in (*.mdb) do ogrtindex mdb_index.shp
> "%f"
> 
> Will recursively search Z:\Geodatabase and index all .mdb files.
> Doesn't work on my machine though. Or rather the recursion works but
> ogrtindex exits with an error: "Schema of attributes of subsequent
> layers does not match ... Terminating."

And that's a correct behaviour of ogrtindex.
Please, see my previous post (second part) in this thread
or refer to Bug 1144:
http://bugzilla.remotesensing.org/show_bug.cgi?id=1144

Simply, all layers processing with ogrtindex should have the same
attributes schema.

May be for PGeo this behaviour should be quite different, specific.
Frank, what do you think?

Cheers
-- 
Mateusz Loskot
http://mateusz.loskot.net



More information about the Gdal-dev mailing list