Opened 13 years ago

Closed 13 years ago

#3687 closed enhancement (fixed)

Add attribute index support for the sql queries in mapinfo tab format

Reported by: tamas Owned by: tamas
Priority: normal Milestone: 1.8.0
Component: OGR_SF Version: unspecified
Severity: normal Keywords:
Cc: Daniel Morissette, aboudreault


Currently OGR has only a limited support for the attribute index scans with the SQL queries (added only for the shapefile format), although the index file format has been borrowed from the mapinfo driver. Moreover - with the mapinfo tab format - the index file may already exist which could just be used by the tab driver with modifications in the attached patch. In this case there's no need to create the index metadata file (.idm) since all this information has already been obtained from the corresponding .tab file.

Attachments (1)

miattrindex.patch (7.8 KB ) - added by tamas 13 years ago.

Download all attachments as: .zip

Change History (4)

by tamas, 13 years ago

Attachment: miattrindex.patch added

comment:1 by Even Rouault, 13 years ago

Cc: Daniel Morissette aboudreault added


I've made the following change : r20105 /trunk/gdal/ogr/ogrsf_frmts/mitab/mitab_tabfile.cpp: Fix missing initializations that cause crashes

I believe that the files in ogr/ogrsf_frmts/mitab/ belong to the MITAB project, so you should submit the changes to the upstream project, otherwise they'll be lost at the next refresh

comment:2 by tamas, 13 years ago

Milestone: 1.8.0

Applied in r20104 and r20105


Could you tell us how the changes done in OGR mitab and the upstream project are normally synchronized? I can see a couple of changes in OGR mitab as of the last update has been applied from the MITAB project.

comment:3 by aboudreault, 13 years ago

Resolution: fixed
Status: newclosed

I've committed this patch in mitab (Will be in mitab 2.0). I'll take care of synchronizing mitab upstream with gdal driver. Thanks tamas for the patch!

Note: See TracTickets for help on using tickets.