Do you know about some library of graphs (railway network graphs) on the Internet, which I can use for simulating? It don’t have to be graphical, but it could. I am looking for real (almost real) graphs of railway network. Graphs should contain distances between places. I would like to use these graphs in Java SE.
Do you know about some library of graphs (railway network graphs) on the Internet,
Share
You can use data from OpenStreetMaps. It is stored in xml format. Just download *.osm file of some region and select only railways. Railways have type “way” in xml and attributes “railway”=”rail”.
Here is an example of such data:
upd
Map data sepparated by regions is available at http://downloads.cloudmade.com/