-
Notifications
You must be signed in to change notification settings - Fork 155
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
Problem reading .csv header #390
Comments
That’s how OGR behaves. The fix is easy as just rename the field name from a pure number to something starts with a letter. We can add a dialog to let user choose which row is field name, even the field type (like excel). Then create a csvt file for OGR reading. However, it will take some time. Let me know if you want this feature in current release.
|
I would log it for the future since it's more of an edge case. On 6 April 2016 at 13:57, Xun Li [email protected] wrote:
Julia Koschinsky, Ph.D. http://geodacenter.asu.edu |
same issue as #459 |
This is a special case that first row has an integer number as field name, so OGR treats the first line as data not header (field names). Will add an checkbox option in the dialog to allow user specify first row is data or header.
|
GeoDa will automatically detect header, and separator. |
GeoDa 1.8.15.5 — Mac OSX problem persists with these two test cases: |
GeoDa 1.7.103 (OSX Yosemite, 10.10.5)
I read this test csv into GeoDa, where one of the variable names consists of numbers only. In this case, GeoDa doesn't recognize the first row as a header row and instead adds automatic field names and an extra first row.
Question is if it possible to still recognize the header row for cases like this.
Here's the test file:
test2.csv.zip
The text was updated successfully, but these errors were encountered: