Introducing OSM2World

Semi success via command line!

see first result at

Now il will try to get a real 90 degree angle to get a result like on main slippy map from, and how to zoom in or extend the image resolution, maybe via --resolution xxx yyy


Great that you made some progress with your project. :slight_smile:

One quick tip: Don’t forget to include the “example texture selection” from - it contains e.g. the arrows for road markings.

Stephan, what’s the status of your project?

If you need any help, just ask. :slight_smile:

Hello Tobias, I got stuck a little bit … maybe also because lack of time …

from one day to the other the command line posted above did not work on my Windows7 any more: output PNG was always same size in bytes and totally black.

Then I tried to continue with GUI version of OSM2world … that works quite good for my purposes.

I just need to pick more places with multi-lane street junctions to find ways where to improve turn-lanes tagging. I will try to report when a concrete issue comes up.

BTW: Is there any active development planned for OSM2World?

Right now, I’m mentoring a great Google Summer of Code student who is adding some (optional) modern OpenGL features to OSM2World. This includes things like better antialiasing, shadows, a higher number of light sources, configurable lighting based on time of day, more realistic textures and so on. Those modifications are already on Github, and will be merged at the end of the GSoC coding period.

Peda is working on expanding the coverage of the slippymap. It’s going slower than expected, but I believe the eventual result will be a big leap in update speeds and coverage.

Myself, I’m also working on some rather big changes - more realistic windows on buildings, fixing glitches with terrain and road junction rendering, and more detailed stairs, for example. Because the interim stages of these improvements break stuff, I will only publish them when I’m done.

Finally, there’s an effort underway to build a WebGL frontend for OSM2World. This task was started by another GSoC student, who has unfortunately left the program. I am still hoping to finish the project, though.

What’s going wrong here?

Hi, there was a crash while rendering that tile. I’ll fix that.

Edit: Oh dear, seems like there were more tiles affected. Going to investigate.

a few random things, it seems that I can’t utilize the elevation feature, as it freezes the GUI…

also, If it says “writing file” and it’s still moving, does that mean it’s still working on it, and i should just leave it alone? it’s been writing file for 15min… lol

Can you tell me the settings you’re using for the elevation feature? Are you only using SRTM-based elevation, or have you enabled some features beyond that?

If you know how to do it, running OSM2World it from a command line could help, as some error messages are only visible there. (It will print a long log of other messages, too – but usually, only the last part before a crash or freeze is relevant.)

Hi Im having trouble trying to export. After I import the OSM file into OSM2World, the show me the models and terrains however they are not really accurate/proportionate they are slightly squashed to the middle, how can I fix this?

I’m trying to use OSM2World, but I’m not used to command lines, bat files…So, after an hour trying to understand how it works, I open the windows powershell in the build-adds directory (is it right ?). But when I run the command :


, I get

java -Xmx2G -jar OSM2World.jar

and then

Error: Unable to access jarfile OSM2World.jar

. I tried to move the complete folder, and to use a different version, but the issue is always the same. What do I have wrong ?
Thank you …

Clementroux, If you have a build-adds directory present, that means you probably have obtained the source code from Github? If so, you would need to build OSM2World first. Do so by running the

ant jar

command in the root directory of the git repo, and make sure to move the resulting jar (from the ‘build’ folder) is in the same directory as the osm2world-windows.bat script, along with any textures and styles you want to use.

If you have no interest in compiling the software yourself (there’s no need to do so unless you want to alter the source code before compiling), I recommend that you download the latest build from instead. Extract the archive and run


from the command line in the resulting directory. (Even in that case, you may also want to obtain the textures and default style from the download page.)

Hi Tordanik,

Is it possible to add roof shape “Onion” in form which is used in Russia?

Currently is does not look like traditional Russian onion roof, but rather like a dome.

I admit there can be different forms of onion roof in different countries, may be this can be activated by a parameter or additional tags…

I can provide blender file or vertices coordinates, if it helps)

Yes, please :wink:

I guess Tordanik modeled it after Munich Frauenkirche, but there it was changed to dome, because F4 map renders more traditional onion :slight_smile:

The shape is indeed based on Bavarian architecture, although a slightly different style than the one found at Frauenkirche. The direct inspiration is St. Stephen’s Cathedral:

Using a configuration parameter would be easy for me to do, so adding the ability to set some default architectural style for these roofs is something I can definitely do.

But of course, I’d prefer if I was able to tell the difference from the tagging. Any ideas for that?

what a lovely building! :slight_smile:

the fist idea which comes in my mind, is to use **denomination **tag on a building outline. if denomination=orthodox or denonination=russian_orthodox, Russian-style onion should be used.

Maybe building:architecture can be also used. If building:architecture=gothic, Bavarian-style onion should be created.

Addr:country cannot be used, because in russia we do not set it on building (on places only).