-
-
Notifications
You must be signed in to change notification settings - Fork 113
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
Way not processed when containing 	 character #259
Comments
Yes, I experienced that too. And many more similar issues while using large osm file. It fails because is encoding for TAB. And code is actually using TAB as a field separator in SQL for inserts. So, this extra TAB should either be escaped properly or just cleaned as a pre-processing step, for example
to replace it with SPACE. |
How to fix this issue in Mac and Windows environment. I am getting this issue for most of the data now a days.. |
Bump |
In my case, I found one of my target data's road name is "\". https://www.openstreetmap.org/way/48432768/history/9 I removed this name, and issue is solved. |
Hello,
First, thanks for all the work done around osm2pgrouting, which is an amazing tool. I'm having some errors when a tag value contains the
	
character (seems to be tabulation). When a way contain such tag, it creates an error on PostgreSQL side (extra data after last expected column), and way isn't inserted in database. I suspect that this character is interpreted as a raw tabulation when SQL command is sent to PostgreSQL, making it like the column separator.Best regards.
Bug context
Example OSM file
Error
Full log
The text was updated successfully, but these errors were encountered: