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

Merge stops into one #116

Open
answerquest opened this issue Sep 30, 2018 · 0 comments
Open

Merge stops into one #116

answerquest opened this issue Sep 30, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@answerquest
Copy link
Collaborator

Sample stops data:

stop_id stop_name stop_lat stop_lon
GANGA1 Gangaram Bus stop 17.49489 78.33031
GANGA2 Gangaram Bus stop 17.49509 78.33022
GANGA3 Gangaram Bus stop 17.49502 78.33007
GANGA4 Gangaram Bus stop 17.49489 78.33036

User should be able to:

  • multi-select these stops on map or on table,
  • see them together (ie, other stops removed)
  • pick one stop into which all selected are to be merged.

At system end, what this translates to:
Example: if GANGA3 was picked as the stop that everything has to be merged into.

  • In stop_times table, rename all instances of GANGA1, GANGA2, GANGA4 into GANGA3.
  • Delete stop_id's GANGA1, GANGA2, GANGA4.
@answerquest answerquest added the enhancement New feature or request label Sep 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant