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

osmium 1.13.2 errors on merge #31

Closed pnoll1 closed 2 years ago

pnoll1 commented 2 years ago

osmium merge errors on files that aren't ordered. OA address files are sorted backwards since that's how ogr2osm outputs.

Need to run osmium sort on address files or try to invert ogr2osm output so ids increase

pnoll1 commented 2 years ago

from osmium docs: Objects in all files must be sorted by type, ID, and version. The results will also be sorted in the same way

May be able to move sorting from prep_for_qa to before merge is called so no extra work is added.

pnoll1 commented 2 years ago

fixed in 7782891771bda4bc4580110c90dcab778a745b45