KMLRoute mapIvory theme

Intercity rail lines

A network diagram in geographic space, with line weight carrying service frequency. Line width is a free visual channel that most tools leave unused, and it is the right one when the data is a count of something moving along the line.

Start an editable copy with this data and your current map styling.

Loading KML data
Line geometry generated between real Swiss city coordinates; frequencies are synthetic.

What to look at

  • Line width is driven by a numeric field, giving a third visual channel beyond colour and size.
  • A light basemap with muted roads lets the network dominate without extra contrast.
  • KML LineStrings keep their geometry exactly as authored.

Source columns

These fields describe the example data. CSV and Excel use first-row headers; GIS formats store geometry and feature properties. Required geometry depends on the map type.

ColumnTypeExample
linetextIC 8
fromtextZürich HB
totextBern
trains_per_daynumber96

Rebuild it with your own data

  1. 1

    Get your KML file ready

    The example fields are line, from, to, trains_per_day. For CSV or Excel, put headers in the first row. GIS files carry geometry and feature properties. Prepare any grid, catchment or route geometry before import.

  2. 2

    Drop it into the studio

    MapCrafter detects the geometry, counts the features, and shows the layers it found.

  3. 3

    Style the imported layer

    Pick which column drives colour, and which drives size or width where relevant.

  4. 4

    Pick a basemap theme

    Ivory is used here. 15 other basemaps are available, including official OpenFreeMap styles. Switch using Layers & basemap.

  5. 5

    Share or export

    Publish a link, embed the map, or export a PNG at print resolution.

Questions about this example

What file format does this route map use?
This example illustrates KML data. The live preview uses GeoJSON geometry. MapCrafter reads KML directly, along with Excel, CSV, KML, KMZ, GPX, GeoJSON, TopoJSON and zipped Shapefile. No conversion step and no desktop software.
What columns does the source data need?
The file used here has 4 columns: line, from, to, trains_per_day. For tabular imports, supply coordinate columns, WKT or GeoJSON geometry, or address columns for an explicit geocoding step. Polygon and line files carry their geometry separately from these attributes.
Can I use my own data with this map type?
Yes. Open the studio, drop in your file, and MapCrafter detects the geometry and applies a starting style. Then style the layer and choose which property drives colour, size or width. The studio can render a point heatmap, but grids, routes and catchment polygons must be prepared before import.
Can I export or share the finished map?
Each map can be published to a short share link, embedded in another page with an iframe, or exported as a print-resolution PNG. The cleaned-up geometry can also be exported as GeoJSON. All of that is available on the free tier.
Where does the data in this example come from?
Line geometry generated between real Swiss city coordinates; frequencies are synthetic.

More route maps examples

Gallery (314)

Last updated 2026-10-22