Converter to CDM - UICrail/SemanticRSM GitHub Wiki

Introduction

In order to generate datasets in the CDM format and/or to import from existing formats, a simple Flask front end application has been created.

Features

The application allows import of a dataset from the following formats:

draw.io schematics are intended for synthetic network generation or reproducing railway map schematics. OSM import allows to inherit track geometry created by OpenStreetMap contributors. Future versions may entail import of additional railway-related information elements present in OSM extracts.

Getting started

  1. Clone the repository
  2. Create a Python virtual environment and the required libraries (requirements.txt).
  3. Start the web interface by calling python __init__.py
  4. This will start a webserver on http://localhost:8000

Quick usage guide

Two modes of operation:

The interface in either case allows to upload a file, the processing will generate a file in the output folder.