Skip to content

Facade Set editor

32kda edited this page Aug 21, 2018 · 8 revisions

OSM2XP uses facade sets to know, which facades should be used for which object - like industrial, residental buildings, fence etc.

Program has built-in facade set editor for editing these sets. It can be opened using Tools > Facade set editor from main menu, then, in opened dialog, you should choose facade set folder. This folder could contain facade set descriptor file named osm2xpFacadeSetDescriptor.xml, or, if it has been not yet created - default descriptor will be generated.

Editor dialog consist of two areas - facades list to the left and properties/facade details are to the right

Facade Set Editor 1

Facade set properties

Facade set properties group contains general facade set information, as well as following actions

  • Add facade, "+" button - allows to add new facade to descriptor by choosing .fac file from current facade set folder only - relative paths or facade copying isn't yet supported
  • Remove facade, "x" button - allows to remove facade from the list, with an option to delete corresponding .fac file if necessary
  • Adjust facade scale - allows to change scale values in choosed .fac file by multiplying them by given factor. Experimental feature, use with care
  • Generate stubs - scans facade set folder and adds .fac files, which aren't present in facade list and creates default properties for them. This feature is smart and e.g. treats double-sided or non-closed facade as fence one automatically

File properties

This group contains properties of selected facade. Radio group in the top can be used for setting basic facade type

  • Building - building facade
  • Fence - fence-typed barrier facade
  • Wall - wall-typed barrier facade (e.g. brick or concrete wall)
  • Tank - facade, which could be used for fuel, oil, water storage tanks and gasometers
  • Garage - facades, which could be used for garages

Roof color and Wall color - these props could be used to choose better-suiting facade, if given color is specified in OSM

Under it there's a group for facade flags:

  • Industrial - whether this facade could be used for industrial buildings like power plant or warehouse
  • Commercial - whether this facade could be used for commercial buildings, like mall or office building
  • Residental - whether this facade could be used for residental buildings
  • Simple building only - tells whether this facade could be used only for simple-shaped buildings (having 4 sides, usually rectangular)
  • Sloped roof - should sloped roof be used for this facade

Following numeric properties are in the bottom of facade props section:

  • Min and max vector length - this properties aren't supported in current (3.3.x) release, maybe support will be added in future
  • Minimum height (meters) - minimum building height in meters, for which this facade is applicable
  • Maximum height (meters) - maximum building height in meters, for which this facade is applicable

Latest two properties are good to use to e.g. separate facade suitable for small private houses or 1-2 level townhouses and facade which could be used for 10-20 level appartment blocks.

Preview

Tab shown below can be used to preview facade and it's markup (segments divisions by width and height, denoted by red lines) Facade Set Editor 2

Read more

Facade creation

Standalone Java tools for facade preview and marking

Facade .fac file format specification

Facade tuning and tips