OneBusAway / onebusaway-gtfs-modules

A Java-based library for reading, writing, and transforming public transit data in the GTFS format, including database support.
Other
129 stars 106 forks source link

preventing StopLocations from propogating to one another during merge #232

Closed CaylaSavitzky closed 7 months ago

CaylaSavitzky commented 7 months ago

Summary:

preventing StopLocations from propogating to one another during merge

StopLocations are the parent for Stop, Location, LocationGroup. Previously the merge either would cause these fields to propagate to eachother, or to keep the only the original fields in some deduplication strategies, but delete all three fields in other deduplication strategies

Expected behavior:

merged stoptimes should keep the same stop_id, location_id, and location_group_id values as before they were merged.

Please make sure these boxes are checked before submitting your pull request - thanks!