OSM2World icon indicating copy to clipboard operation
OSM2World copied to clipboard

start OSM2World

Open yafimski opened this issue 6 years ago • 7 comments

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 avatar May 14 '18 20:05 yafimski

@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 avatar Jul 15 '18 20:07 AnnaAfanas

@AnnaAfanas Thanks for the reply. What do you mean "run the .sh script"...? How do I do that?

yafimski avatar Jul 23 '18 09:07 yafimski

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 

artlog avatar Oct 06 '18 20:10 artlog

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

gully-moy avatar Jan 31 '21 12:01 gully-moy

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!`

u0nel avatar Feb 12 '22 16:02 u0nel

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

msnir009 avatar Mar 22 '23 15:03 msnir009

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

tordanik avatar Mar 26 '23 11:03 tordanik