JOSM/Plugins/Kendzi3D/TitleRender

From OpenStreetMap Wiki
< JOSM‎ | Plugins‎ | Kendzi3D
Jump to: navigation, search

Kendzi3d Title Render

Description

It is 3d title renderer. It generate title images compatible with OpenLayer.

Title renderer.PNG

Source code

https://github.com/kendzi/kendzi3dTitleRenderer

Installation & testing:

1. Download binaries: http://openstreetmap.pl/kendzi/Kendzi3d/render-snapshot/

2. Unpack to directory eg. c:\kendzi3dTitleRenderer

3. Download xml with data for titles. It can be done using eg. JOSM. Save data to file with name eg. c:\in.osm

4. Run title generator with parameters:

c:\kendzi3dTitleRenderer\run32.bat dataSetBounds=true inFile=c:\in.osm zoom=19 outDir=c:\out resDir=C:\kendzi3dTitleRenderer\kendzi3d

5. result will be saved to directory c:\out

Command line interface

  • dataSetBounds=true - generate all titles for input data, if not set it require setup title id x, y
  • x, y - generate single title for requested title id (if dataSetBounds=true not set)
  • zoom - title zoom
  • inFile - location of input data file (JOSM xml file)
  • outDir - output directory
  • resDir - resource directory. Textures, models, configuration
  • cameraAngleX - angle of camera to ground in x axis (default = 0)
  • cameraAngleY - angle of camera to ground in y axis (default = -30)