pnoll1 / osmand_map_creation

OSM data + open address data compiled for use in OSMAnd
GNU General Public License v3.0
79 stars 2 forks source link

single source failure causes state to fail #3

Closed pnoll1 closed 4 years ago

pnoll1 commented 4 years ago

should write failed source to log file and skip source to continue processing
current workaround would be to move source or change .vrt file to another extension

pnoll1 commented 4 years ago

empty files are handled in 5b903445e2a7ed14498cf9cc714b5e3b4c6869bf.

ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters are not caught properly.

Error handling from ogr2osm in general seems to be root cause of failures. Errors aren't passed up to where they get removed from merge which would solve problem.

pnoll1 commented 4 years ago

f0bc3854478735d38d301a009a12f62a33b30a0d adds error handling to ogr2osm calls.