Skip to content

OSM 2 Graphium Converter

Simon Gröchenig edited this page Jun 26, 2020 · 4 revisions

Algorithms > Graph Management > Graphium:osm2graphiumconverter

This algorithm is used to convert a road network within a OSM graph file into Graphium JSON format.

Input parameters

ID Parameter Description
INPUT_JAVA Java file File java.exe located in Java Runtime Environment (JRE) bin directory
INPUT_OSM2GRAPHIUM Converter file JAR-file to convert OSM datasets to the Graphium graph format
INPUT Graph file Graph file in OSM or PBF format
SERVER_NAME * Graphium server Refers to name set in connection editor
GRAPH_NAME * Graph name
GRAPH_VERSION * Graph version
USE_HIGHWAY_TYPES Use highway types If true, only highway types specified in HIGHWAY_TYPES are converted; if false, all highway elements are converted
HIGHWAY_TYPES Highway types List with Highway tag values
TAGS Tags which OSM tags should be stored; 'none' (default) or 'all'
KEEP_DOWNLOADED_FILE Keep downloaded file If true, graph OSM/PBF file will not be deleted (default True)
FORCE_DOWNLOAD Force download If true, a new OSM/PBF file will be downloaded even if has been downloaded before
KEEP_CONVERTED_FILE Keep converted file If true, graph JSON file will not be deleted (default True)
OVERRIDE_IF_EXISTS Override graph version if it exists on server Default True
OUTPUT_DIRECTORY Output directory Directory where the graph file will be written

(*) By default, these parameters are set to the selected default graph version (see Graph Manager).

Output

  • OUTPUT_DIRECTORY: Path to the directory containing the graph file
  • OUTPUT_JSON: Path to the graph file