[gdal-dev] MapInfo TAB append issue

Simon O'Keefe simon.okeefe at groundtruth.com.au
Mon Apr 19 09:22:29 EDT 2010


Hi,

I'd like to report some unexpected behaviour from ogr2ogr
(FWTools2.4.7 in Windows 7) when attempting to append to a MapInfo TAB
file.

To recreate this issue, I first run the following to create a new
MapInfo table from a SHP file:
ogr2ogr -f "MapInfo file" C:\Output C:\Input\states.shp

This successfully generates a MapInfo table at C:\Output\states.tab.

Now, I attempt to append the source data to the new table (not a
realistic example, I know):
ogr2ogr -f "MapInfo file" C:\Output C:\Input\states.shp -append

What happens here is that, instead of appending to the MapInfo table,
it generates a new SHP file: C:\Output\states.shp.

I experience this behaviour whether the source is SHP or TAB. The
slightly dangerous element to this issue is that if the input and
output folders are the same, the source file (if it's SHP) gets
appended to itself.

Has anyone experienced this issue?

Cheers,

Simon
_______________________________________
Simon O'Keefe
Geospatial Systems Developer
Groundtruth Mapping Systems
Level 2, 140 Queen Street
Melbourne VIC 3000 Australia
phone:  +61 409 413 890
email:  simon.okeefe at groundtruth.com.au
web:    http://www.groundtruth.com.au
_______________________________________


More information about the gdal-dev mailing list