pnorman / ogr2osm

pnorman's version of UVM's Rewrite of ogr2osm
Other
78 stars 46 forks source link

exception while writing idfile #49

Closed jendrusk closed 3 years ago

jendrusk commented 4 years ago

if OPTIONS.saveid: with open(OPTIONS.saveid, 'wb') as ff: ff.write(str(Geometry.elementIdCounter))

if open(...,"wb") then not str(), if str() then "w" and write in textmode

BTW - Nice work :)

roelderickx commented 3 years ago

Fixed in pull request #50 - thanks @jendrusk