Skip to content
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

IRN_ADM2 #44

Open
maxmalynowsky opened this issue Apr 11, 2024 · 2 comments
Open

IRN_ADM2 #44

maxmalynowsky opened this issue Apr 11, 2024 · 2 comments

Comments

@maxmalynowsky
Copy link

Issue: ADM2_PCODE IR016003 contains newline in ADM2_EN value for Yasooj. It is stored as "Yasooj\r" which causes issues when Pandas is used to convert the table to a CSV.

@hayttom
Copy link

hayttom commented May 15, 2024

Hi Max, I don't see this in the ITOS geoservice, gazetteer, or shapefile. @adawnflyer , do you validate the issue?

@maxmalynowsky
Copy link
Author

It is a bit difficult to replicate the issue, since most software libraries do a good job of automatically fixing the problem, but not all. If you open up the layer in QGIS and export to CSV, then open that CSV in a text editor (not Excel), you'll get a result like in the following image. Most of the time software is automatically able to pick this up and fix it, but I ran into an issue using the Python library Pandas where it gave errors.

Screenshot 2024-05-16 at 08 33 17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants