-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversion mapinfo file issue #11173
Comments
There is no GDAL version 4.7.1. Anyway, using faulty MapInfo data as input is not a GDAL bug, Properties should not be in the .dbf file. |
actually, I see there's code in the MapInfo GDAL driver to handle .dbf file @q1165600785 Please attach to this ticket a .zip file containing all needed files |
We'll need access to the actual files to be able to diagnose |
Notice that "actual files" do not need to contain your perhaps confidential data. Fake data files will do as well if they a) are known to be usable with MapInfo and b) produce the reported issue with GDAL. |
Sorry for uploading the file just now, I uploaded two types of mapinfo TAB files, I uploaded the file to my repository,They are test1 and test2 respectively. This is my test file
|
Is the "test2" set with the .dbf part written with MapInfo, and can MapInfo open it successfully? |
ogrinfo test2.tab shows:
Excel does not open the .dbf file, it claims that the contents of the file do not match with the extention of the file name. There is something odd in the dbf. I managed to make the test2.tab to work by writing the .dbf part again with ogr2ogr, and remaming the files
|
What is the bug?
I have two types of mapinfo files, one is. tab. map. id. dat, and the other is. tab. map. id. dbf. The first type can be opened, and when I convert to shp using ogr2ogr, the first type can be successfully converted, but the second type produces an empty property table
Steps to reproduce the issue
ogr2ogr
Versions and provenance
python gdal 4.7.1
Additional context
No response
The text was updated successfully, but these errors were encountered: