sozialhelden / brokenlift

Show broken lifts worldwide
11 stars 2 forks source link

some stations have a station prefix, others don't #7

Open jwoschitz opened 12 years ago

jwoschitz commented 12 years ago

Some stations have a prefix like "U" or "S/U" and others don't.

I think that the stations which have been inserted from the scraper do not have the prefix. It would be good if we store this information as as a separate Database field.

Then we could show the station prefix if its needed but we can sort the stations alphabetically.

If this feature has been implemented into the scraper we should run a clean up job over the db and omit the prefix for each station.

It might be possible that we already store a station with and without a prefix (a possible example: "U Lindauer Allee" and "Lindauer Allee"). In this case we need to merge these stations when the clean up job runs.