Build an SVG Istanbul metro map from scratch

Istanbul’s rail network becomes easier to navigate when geography is translated into a clear diagram. The Bosphorus and Sea of Marmara provide orientation, while numbered routes show where trains connect. A hand-built SVG stays sharp on a phone, prints cleanly for a hostel or visitor centre, and can be edited when a station opens or a service pattern changes.

The work begins with structured data rather than artwork. You need an ordered list of stations for each line, interchange relationships, coordinates and consistent names. From there, the illustration can be divided into layers for water, routes, stations and labels. The result is a useful travel aid for commuters and visitors, including Australian travellers who value the clarity of familiar metropolitan diagrams.

Gather and structure reliable network data

Start with current material published by Metro Istanbul, including its official network diagram, line information and service notices. Record the date beside every source because extensions and temporary closures can change the network quickly. Use factual station data as the foundation, while treating the official graphic as a reference for orientation and network coverage.

Create a spreadsheet with one row per station and fields for line, sequence, Turkish and English names, latitude, longitude, interchange status and planned position. Give each station a stable ID that will remain unchanged if its display name changes. Each route can then be stored as an ordered list of station IDs, allowing one branch to be revised without rebuilding the entire map.

Version every dataset and maintain a concise change log. When a community map conflicts with an official announcement or a rider’s observation, document the station and date, then use report metro corrections to record the discrepancy. Check the operator’s reuse terms before publishing, and create original symbols and geometry rather than tracing its artwork.

Plan the geometry and visual hierarchy

Decide how much real-world geography the diagram should preserve. A geographic map follows coastlines and station positions, while a schematic diagram optimises routes for quick reading. Istanbul works well as a hybrid: retain the broad shape of the Bosphorus, the Golden Horn and the Sea of Marmara, then straighten and space the rail alignments for legibility.

Set a fixed SVG coordinate system with a viewBox, such as 0 0 1600 1000. This allows the same artwork to scale to a website, social post or printed sheet without changing its proportions. Restrict routes to common angles—usually 0, 45 and 90 degrees—and use gentle curves where several lines meet. Keep line spacing uniform so stations and labels have room to breathe.

Establish a visual hierarchy before adding detail. Water should sit quietly in the background, routes should carry the strongest colour, and interchange stations should be more prominent than ordinary stops. Line identifiers and terminal names provide redundant information for travellers who cannot distinguish a particular colour. Consistent spacing and alignment will make the finished map feel deliberate rather than crowded.

Build the SVG in reusable layers

Begin with a semantic SVG skeleton containing named groups. These groups make later editing faster and keep the code understandable:

<svg xmlns="http://www.w3.org/2000/svg"
     viewBox="0 0 1600 1000"
     role="img"
     aria-labelledby="map-title map-desc">
  <title id="map-title">Istanbul metro map</title>
  <desc id="map-desc">Schematic of metro lines, stations and interchanges.</desc>
  <g id="water"></g>
  <g id="routes"></g>
  <g id="stations"></g>
  <g id="labels"></g>
</svg>

Draw each route as a separate path with an ID matching its line name. Use rounded joins and caps, then store line colours in CSS classes rather than repeating hexadecimal values throughout the document. Create reusable symbols in <defs> for ordinary stations, interchanges and terminals. This reduces duplicated SVG and ensures that changing a station symbol updates every occurrence.

The available production workflows differ in how much automation and visual control they provide:

Method Best fit Advantages Limitations
Hand-authored SVG Small, highly custom diagrams Complete artistic control Slow when many routes change
Data-driven SVG Networks requiring frequent revisions Repeatable and easy to update Requires structured source data
GIS export Projects needing precise geography Accurate real-world placement Can produce visual clutter

A data-driven workflow usually offers the best balance for Istanbul. Keep the station spreadsheet as the source of truth, generate route paths from planned coordinates and apply a small set of design tokens for colour, width and typography. Manual adjustments remain possible where a label or interchange needs extra space.

Make the map legible for everyday travellers

Use distinct symbols for ordinary stations, interchanges and termini. Ordinary stops can be small ticks or circles, while interchange stations should use larger rings or linked circles. Add the line identifier near each terminus so the map remains understandable for people with colour-vision deficiencies or when it is printed in greyscale.

Handle labels as carefully as the routes. Position each name horizontally where possible, keep Turkish and English names consistent, and use leader lines only when direct placement would create collisions. Test the type at actual display sizes because a label that looks balanced in a design application may become illegible on a phone. Reserve the strongest type weight for interchanges and major destinations.

Australian travellers bring useful expectations from home. Sydney’s Opal system and Melbourne’s myki have made interchange diagrams familiar, while Melbourne’s extensive tram network demonstrates the importance of showing walking and connecting-transport links. Brisbane’s AIMS network and Go Card highlight the value of integrating rail and bus information. For the Australian travel market, offering an accessible SVG, a printable PNG and a text itinerary gives tour operators and visitors several practical formats without duplicating the underlying design.

Validate, publish and maintain the map

Compare the finished SVG against the current source data station by station. Confirm route order, interchange connections, spelling, line colours and boundary stops. Validate the XML, test it in major browsers and inspect it at phone, desktop and print sizes. Zooming should reveal crisp lines and text rather than blurred artwork, and every interactive version should include a meaningful text alternative.

Publish the SVG as a proper part of the website rather than presenting it as a decorative image. If the domain still displays a default FastComet hosting page or cPanel login screen, treat those as administrative infrastructure rather than the finished travel resource. A lightweight HTML page can explain the map’s date, provide station and line navigation and offer alternative formats for visitors who cannot use the graphic.

Keep the spreadsheet, SVG and published version linked to the same release number. Record additions, closures and naming changes so future edits remain traceable. The practical takeaway is to begin with a dated, structured dataset, prove the smallest route on a phone-sized SVG and repeat that disciplined workflow whenever the network changes.