Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shapes.txt #11

Open
pietercolpaert opened this issue May 20, 2015 · 2 comments
Open

shapes.txt #11

pietercolpaert opened this issue May 20, 2015 · 2 comments

Comments

@pietercolpaert
Copy link
Member

The shapes.txt file describes where the railway tracks are on a map.

Data structure

shape_id,shape_pt_lat,shape_pt_lon,shape_pt_sequence
A_shp,37.61956,-122.48161,0
...

How can we get it

The data is in Open Street Map. Can we extract it from there?

@skinkie
Copy link
Member

skinkie commented Jul 29, 2015

I would not get it from OSM for license reasons.

@pietercolpaert
Copy link
Member Author

@skinkie good point... Means we wouldn't be able to license our GTFS dump CC BY any longer, although we can deliver the shapes.txt as a separate file with a different license...

Just saw the @grote has python code for this. Anyone speaking python feeling adventurous to pick the code we need out of this?
https://github.com/grote/osm2gtfs/blob/d296a12c6d4e3cbc1fa10627786625c6d8339347/core/osm_connector.py#L400

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants