# Visual map of train routes

**URL:** <https://opendataforum.transport.nsw.gov.au/t/visual-map-of-train-routes/1631>\
**Category:** Uncategorized\
**Created:** [May 1, 2019, 3:54am UTC](https://opendataforum.transport.nsw.gov.au/t/visual-map-of-train-routes/1631 "2019-05-01T03:54:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonathonsu](https://sea1.discourse-cdn.com/flex019/user_avatar/opendataforum.transport.nsw.gov.au/jonathonsu/32/369_2.png) [@jonathonsu](https://opendataforum.transport.nsw.gov.au/u/jonathonsu)\
**Post date:** [May 1, 2019, 3:54am UTC](https://opendataforum.transport.nsw.gov.au/t/visual-map-of-train-routes/1631/1 "2019-05-01T03:54:43Z")

</div>

Hi all,

I’m trying to render the train route between train stations, so for example between Central and Hurstville.

Is there somewhere I can find the GEOJSON for the train line between two different stations?

Thanks 🙂

---

<div class="post-metadata">

**Author:** ![alejandro.felman](https://avatars.discourse-cdn.com/v4/letter/a/bbe5ce/32.png) [@alejandro.felman](https://opendataforum.transport.nsw.gov.au/u/alejandro.felman)\
**Post date:** [May 1, 2019, 6:12am UTC](https://opendataforum.transport.nsw.gov.au/t/visual-map-of-train-routes/1631/2 "2019-05-01T06:12:26Z")

</div>

Hi @jonathonsu, we don’t have a shapefile of the routes between stations at this stage. I believe most developers use the data in the shapes.txt file included in the GTFS bundle to plot the lines.

Thanks,  
Alex

---

<div class="post-metadata">

**Author:** ![jxeeno](https://sea1.discourse-cdn.com/flex019/user_avatar/opendataforum.transport.nsw.gov.au/jxeeno/32/210_2.png) [@jxeeno](https://opendataforum.transport.nsw.gov.au/u/jxeeno)\
**Post date:** [May 2, 2019, 1:56pm UTC](https://opendataforum.transport.nsw.gov.au/t/visual-map-of-train-routes/1631/3 "2019-05-02T13:56:53Z")

</div>

You could also try a trip request via the Trip Planner API between the two stations and extract the coods out of there. It’s not strictly GeoJSON, but you can use the coordinates to transform it into GeoJSON.

![image](https://us1.discourse-cdn.com/flex019/uploads/nsw/original/1X/f3b2ac15e1ea44a6f61ff6206b13a883077da99c.png)
