mrcagney / gtfs_kit

A Python library for analyzing GTFS feeds.
MIT License
46 stars 7 forks source link

New util method to add a prefix or suffix to ids #7

Closed markusstraub closed 9 months ago

markusstraub commented 9 months ago

I often need to combine GTFS feeds and to avoid conflicts (e.g. same route_id in two feeds) it is sometimes useful to simply add a prefix or postfix to all those ids. I hope this is useful for you as well?

araichev commented 9 months ago

This feature looks good, @markusstraub . I'm going to pull it into a feature branch, make a few tweaks, then push the feature branch back for your comments.

araichev commented 9 months ago

How's that rendition of your code (in feature/extend-id) @markusstraub ?

markusstraub commented 9 months ago

Looks great!

araichev commented 9 months ago

Thanks @markusstraub for your contribution, which i've now included in Release 6.1.0.