ad-freiburg / pfaedle

Precise map-matching for public transit feeds. Generates high-quality GTFS shapes from OSM data.
GNU General Public License v3.0
208 stars 29 forks source link

Take a geojson as input source #55

Open laem opened 6 months ago

laem commented 6 months ago

Hi, thanks for your awesome work. I was able to test it on a regional dataset, it's wonderful.

But on the France dataset, I'm struggling, it can't open the france-latest.osm.bz2 file on my laptop, too long on my rather powerful computer.

Hence my question : I can easily find a geojson of the geographic lines that I'm interested in mapping to the shapes.txt.

https://data.sncf.com/explore/dataset/formes-des-lignes-du-rfn/map/?basemap=63a416&location=6,46.69508,2.48494

It's a set of simple LineStrings. Is there a documentation that gives me some info on how to transform this rather light input to a format that pfaedle can handle ?