hi all i need your help when i open osmconvert.exe i write osmconvert --help and its just close i’ve tried some command but always close ( i need convert .osm.xml to osm.pbf )
yes sorry and i clicked on this one binary for Windows 32 bit (runs with Win 64 too)
this is strange when he open and i write command it close but i can convert when i press “A” but i need .osm.pbf file so i must use -o= for get it but with it or --help or -h the console just close
For people who do not have enough experience with commandline-interfaces, there is “Bert”. Bert is the name of an interactive text-based menu interface which will help you to use the program’s basic functions.
One of these “basic functions” is the conversion between OSM file types. As far as I remember, it’s function number 1. So just enter “1” after you have entered the name of the file to be converted.
Or where you looking for a way to write “.osm.pbf”? Please choose the type “.pbf”, it’s the same as “.osm.pbf”.
yes i know for “bert” and its “work” i can have my file test.pbf but the software i want use ( world2xplane ) use only osm.pbf file they said use the command test.osm.xml -o=test.osm.pbf but like i said its just close the console but what i dont understand is i can user bert but not the command…
Hello again,
I am not sure if I got this right… Bert gives you a file with the name “text.pbf” but you need a file with the name “test.osm.pbf”?
Does it work if you just renamed the file accordingly?
The relation of the file sizes seem to be ok. Thus I assume the conversion to .pbf (resp. .osm.pbf) went without errors.
Maybe the game (what game is it?) does not recognize the new file…
Of course, you can try the conversion via commandline (in Windows via Windows-R key combination and entering “cmd”, I am not sure), however, I guess the result will be the same…
Special characters handling:
Using
osmconvert output.osm --csv=“@id@lon@lat name” -o=output.csv
and having special characters like " in tags, example from us-latest-osm
<tag k=“name” v="“Memorial Hall Center for the Arts”/>
osm convert is not handling this correctly, since " is used as another ", so until next " occurency, everything is handled as one string. Is it known issue?
Thanks