Menu

Tree [a836b0] master /
 History

HTTPS access


File Date Author Commit
 .github 2019-11-19 32kda 32kda [11fab3] Update maven.yml
 com.osm2xp.application 2020-01-30 Dmitry Karpenko Dmitry Karpenko [09d804] 4.4.0 release
 com.osm2xp.classification 2020-01-30 Dmitry Karpenko Dmitry Karpenko [09d804] 4.4.0 release
 com.osm2xp.classification.core 2020-01-31 Dmitry Karpenko Dmitry Karpenko [ad701d] Improve the type getting for 3D objects a littl...
 com.osm2xp.console 2020-01-30 Dmitry Karpenko Dmitry Karpenko [09d804] 4.4.0 release
 com.osm2xp.core 2020-01-30 Dmitry Karpenko Dmitry Karpenko [09d804] 4.4.0 release
 com.osm2xp.generation 2020-02-13 Dmitry Karpenko Dmitry Karpenko [770074] Road generation experiments
 com.osm2xp.product 2020-01-30 Dmitry Karpenko Dmitry Karpenko [09d804] 4.4.0 release
 docs 2019-10-07 Dmitry Karpenko Dmitry Karpenko [951fd4] Facades scale fix, tag number values parsing fi...
 experiments 2018-07-12 Dmitry Karpenko Dmitry Karpenko [e1d01d] Blender wall generation script initial work
 models_src 2018-07-19 Dmitry Dmitry [b36f9e] Cooling tower model fix #1
 osm2xp.helpers 2020-02-12 Dmitry Karpenko Dmitry Karpenko [adb42c] Project for helpers/incubation code
 osm2xp_additions 2019-10-17 Dmitry Karpenko Dmitry Karpenko [3ae843] Forest density slightly increased
 releng 2020-01-30 Dmitry Karpenko Dmitry Karpenko [09d804] 4.4.0 release
 releng-app 2020-01-30 Dmitry Karpenko Dmitry Karpenko [09d804] 4.4.0 release
 releng-console 2020-01-30 Dmitry Karpenko Dmitry Karpenko [09d804] 4.4.0 release
 releng-core 2020-01-30 Dmitry Karpenko Dmitry Karpenko [09d804] 4.4.0 release
 testdata 2020-01-30 Dmitry Karpenko Dmitry Karpenko [09d804] 4.4.0 release
 .gitignore 2019-04-25 Dmitry Karpenko Dmitry Karpenko [1cd3a1] gitignore fix
 .travis.yml 2020-02-13 Dmitry Karpenko Dmitry Karpenko [a836b0] Travis.yml fix
 CHANGELOG.md 2020-01-30 Dmitry Karpenko Dmitry Karpenko [09d804] 4.4.0 release
 LICENSE 2019-07-23 Dmitry Karpenko Dmitry Karpenko [c50bc0] readme/licens
 README.md 2020-02-12 32kda 32kda [1ba1fb] Update README.md

Read Me

Build Status

OSM2XP - Generate X-Plane 11, X-Plane 10 and X-Plane 9 scenery using OSM Data

This project is based on original OSM2XP by Benjamin Blanchet, code was originally taken from code.google.com/p/osm2xp

Original osm2xp

Supports generating buildings using facade set from OSM data loaded from pbf file, as well as generating
* Forest zones
* Some objects by rules

I've needed custom generation for small terrain area around an airfield and decided to extend old OSM2XP app to support this.
Since initial task is generating X-Plane 10 scenery, most fixes I've done and all testing was done for X-Plane 10 scenery generation. I can't guarantee other modes will work correctly, but if you want to post some issues or offer some ideas/help for them - feel free to contact me.

Already done

Generation of

  • Buildings using facades or matching 3D objects
  • Roads, trying to select best matching road type, if lane count data is present in OSM. Road types are configurable from the UI
  • Railways
  • Power lines
  • Barriers, two types are supported - fence and wall
  • Water tanks, fuel tanks, gasometers - using special facade
  • Chimneys - are generated by inserting special objects taken from opensceneryx and ruscenery packages, as well as created by myself. Object with height closest to necessary is selected, e.g. for chimney with height 80m object with height=75m will be chosen
  • Bridges for roads and railways based on OSM markup
  • For buildings with type "garage" special facade is used, since using regular building facade for garage usually gives poor result
  • Airifields and heliports generation is supported starting from 3.5.0. Program can create apt.dat file for each airfield specified in OSM data.
  • Draped polygons support (from 4.x) for items like paved parkings

As well as

  • Using building:levels tag value if no height tag specified for building
  • Improved facade set editor - added facade preview, ability to delete facade and specify facades for fence or wall
  • Generating smaller area, then 1 tile - just as much as OSM PBF file defines. OSM PBF file can be obtained e.g. using bbbike.org
  • Migration to Java 8, using some newer libraries and some UI fixes
  • OSM multipolygon support - polygons with multiple rings and holes, cutting building polygons when necessary and clipping polygon to particular tile

Installation

You need at least Java 8 JRE or JDK to be installed

Download program archive from SourceForge and unpack to any folder. It's better to use path without spaces. Launch program using osm2xp/osm2xp.exe executable.
Initially program was available for Windows only, starting from 3.5/4.x Linux version is also provided (see .tgz archives on website).

Usage

Please refer Quick Start Guide

Advanced usage info

OSM2XP Directory Structure

Using Facade Set Editor

Airfield generation

Faced a problem? Please look at basic troubleshooting information, maybe there's a solution. If not - feel free to open an issue here or report it in this forum thread.

Samples of generated scenarios

Screenshot 1

Screenshot 2

License

OSM2XP is licensed under GPL 3.0

2D and 3D assets

OSM2XP uses some built-in assets in default facade set, 3D model set, forest definitions etc. All of them was taken from different open libraries, e.g.:

Facades

OSM2XP uses facades taken from different open libraries, e.g. from facade set by Alex Krug or World Models library. Some facades was created by 32kda in Blender specially for OSM2XP

3D Models

3D Models from different open libraries - OpenSceneryX, RuScenery and WorldModels - are used. Also several models was creatred for OSM2XP by Lenya69 and 32kda.

Participate

You can help with coding, if you know Java/Eclipse, with creating better default facade set (current one has a lot of problems), default models (cranes, chimneys, communication towers...) or just filing issues and posting improvement suggestions. Any help is welcome.

Nearest plans

  • Select 3D model for building by length, width and height (if specified)
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.