OSM2World
OSM2World copied to clipboard
start OSM2World
Hi, sorry about this completely beginner's question, but I can't seem to be able to open an .osm file from Command Prompt.
From what I've read in the Wiki and the site, I'm supposed to install Java, which I did, and I'm supposed to run CMD and type "OSM2World -gui x" where x is the filename. I've tried it but all it tells me is: "'OSM2World' is not recognized as an internal or external command, operable program or batch file."
I'm wondering if there is something i'm missing/need to install.
Thanks
@yafimski
As for Linux it is like this: ./osm2world.sh <params>
I guess the problem is that you have to run the .sh script (not the "osm2world" command) to run the program
@AnnaAfanas Thanks for the reply. What do you mean "run the .sh script"...? How do I do that?
try then ( don't type lines starting wiht # thos are comment lines )
# move into osm2world git directory
cd OSM2World
# build project
ant
# run generated jar
java -jar build/OSM2World.jar
I appreciate that this is an ancient question but I feel that it will be helpful for people who are struggling to open OSM2World and come across this page (like me!)
I downloaded OSM2World from the official webpage http://osm2world.org/download/ (I guess it's already been built here)
Installed latest Java Runtime (I installed both 32 and 64 bit as I'm not sure which one I needed), easy to find on Google
Run Command prompt (CMD in windows search bar)
Navigate to OSM2World folder with CD command (e.g. "cd Desktop\OSM2World")
Enter "OSM2World.jar --gui" into command prompt
I'm getting this error when running osm2world.sh
Inconsistency detected by ld.so: dl-lookup.c: 105: check_match: Assertion
version->filename == NULL || ! _dl_name_match_p (version->filename, map)' failed!`
I tried to run the file using this command "OSM2World.jar --gui" and I get a Java Exception has occured. I am using java version 1.8.0_361. How can I solve this? thanks
I tried to run the file using this command "OSM2World.jar --gui" and I get a Java Exception has occured. I am using java version 1.8.0_361. How can I solve this? thanks
Which version of OSM2World are you using? Please note that the latest build of OSM2World now requires Java 17 or newer. This is in contrast with older versions, which required version 8 (also known as 1.8) and were not compatible with more recent Java releases.
Also see: https://wiki.openstreetmap.org/wiki/OSM2World#Installation