Traxim File Generator

Generate Traxim input files from OpenStreetMap • Convert between KML and CSV formats

v2024.02.24 + OSM

No login needed. A Traxim login is only needed to use the File Generator with an AI agent.

No active session
Pinned Waypoints
Resolved Waypoints
Search Bboxes / Corridors
Generated Geometry
Alternative Routes
Corridor Buffer (~1 km)
1

Define Route

▼

Waypoints define a bounding box within which a search is done for all rail lines (defined as "relations" in OpenStreetMap). The optimum distance between waypoints is therefore context specific. Use a minimal number of waypoints, but select locations to filter out irrelevant rail lines as best as possible. Further filtering is possible at step 2, but good waypoint selection at step 1 minimises effort.

The bounding box does not need to fully enclose your target rail line — provided the line passes through the box at some point it will return the OSM relation.

Click 📍 next to a waypoint, then click the map to place it. Drag a placed pin to fine-tune its position, or click the button again to re-place it elsewhere.

Convert Google Earth kml to Traxim Centerline csv

Use Google Earth Pro's Add Path Tool to draw an approximate centerline of the desired alignment.

For best results, use more points to capture curves and fewer points on long straights. Limit anomalies by gradually increasing and decreasing the relative spacing between points.

Save the alignment as a KML to a convenient local directory.

This tool will attempt to curve fit the selected points to generate a regular 25 meter interval centerline optimised for use with Traxim.

Actual cumulative geometric distance will be calculated and returned in the kilometrage column. This can subsequently be adjusted to match official kilometrages.

Clicking "Convert to Traxim Centreline" will convert the selected files, and automatically download them as a zip file.

This tool doesn't generate altitude data. We recommend https://www.gpsvisualizer.com/elevation to populate elevation.

Convert Traxim Centerline csv to Google Earth kmz

Select Traxim centerline csv files to convert them to Google Earth kmz files.

Visualising the track geometry in Google Earth provides an easy way to identify errors, and to correlate nominal kilometrages to rail network features.

The output will be a single lines.kmz file containing all centerlines organized in folders, with normal and low-detail versions, plus kilometrage markers.

Clicking "Convert to Google Earth" will convert the selected files, and automatically download the index.kmz as a zip file.

This can be opened in Google Earth Pro. Just drag and drop. Please be patient: Large files may take some time to load in Google Earth.