[gdal-dev] shapefile field indexing on OGR 1.x vs 2.1

Andrea Battisti battisti at actgate.com
Tue Jan 31 04:42:34 PST 2017


>
>> Related to the attribute index: when using SQL WHERE clauses like
>
>> WHERE myfield IN (1, 2, 3) on the integer field, it reports on the last
>
>> one only, like if the query was
>
>> WHERE myfield = 3
>
>> (while there are rows with myfield = 1 and 2 as well...)
>
>>
>
>> This is happening only if using the mapinfo attribute index on 2.1 (was
>
>> working on 1.x). If I manually remove the index files the query executes
>
>> correctly.
>
>>
>
>
>
> Ah that's indeed a regression. I've just fixed it per
>
> https://trac.osgeo.org/gdal/ticket/6798


Thank you!

Andrea



More information about the gdal-dev mailing list