diff --git a/src/stops-import/process-stops-from-import.txt b/src/stops-import/process-stops-from-import.txt index 4951213..614b754 100644 --- a/src/stops-import/process-stops-from-import.txt +++ b/src/stops-import/process-stops-from-import.txt @@ -1,10 +1,18 @@ @startuml start repeat - if (Does tmp zone map contains stop key) then (yes) + if (Does fare map record contains stop key) then (yes) + if (Does stop name contains a blank?) then (yes) + :set city and stop name using string manipulation; + else (no) + :set city field using stop import record; + :set stop name field using stop import record; + endif + :update stop in storge; + :remove stop record from stop import; else (no) endif -repeat while (next stop record?) is (yes) +repeat while (next stop record in import?) is (yes) ->no; end @enduml