Menu

Tree [5f0551] master /
 History

HTTPS access


File Date Author Commit
 com.osm2xp.classification 2019-01-31 Dmitry Karpenko Dmitry Karpenko [8a0319] Further geoindex building experiments
 com.osm2xp.core 2019-02-01 Dmitry Karpenko Dmitry Karpenko [5f0551] 3.5.1 release
 docs 2018-07-19 Dmitry Karpenko Dmitry Karpenko [8ea679] Fixed cooling towers, small fix for DSF writer,...
 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 2019-02-01 Dmitry Karpenko Dmitry Karpenko [5f0551] 3.5.1 release
 osm2xp_additions 2018-09-20 Dmitry Karpenko Dmitry Karpenko [3e68ea] Added one more industrial facade
 .gitignore 2019-01-21 Dmitry Karpenko Dmitry Karpenko [e11017] DTree learning try 1 (unsuccessfull)
 CHANGELOG.md 2019-02-01 Dmitry Karpenko Dmitry Karpenko [5f0551] 3.5.1 release
 README.md 2018-11-28 32kda 32kda [5a846e] Update README.md

Read Me

osm2xp

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

  • Roads, with trying to select best matching road type, if lane count data is present in OSM
  • 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.

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.

For now program is available for Windows only. If you need it for other OS, please create an issue on GitHub.

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

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

  • More options in the GUI
  • Better default facade set
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.