This project was generated with Angular CLI version 10.0.0 Supported by Mapbox Gl when a map is needed. The static map source of it is supported by openstreetmap https://www.openstreetmap.org/. The protocol of GTFS-Realtime can be seen in timetable.d.ts and timetable.js, which is automatic written by protobufjs https://github.com/protobufjs/protobuf.js/blob/master/README.md.
The software is only for educational or personal used purposes. All right reserved.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
.
ng serve limit its memory to 1500mb. This project use a special protocol to test, so it is not enough.
You can use a new script npm run build-serve
The app will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the docs/
directory. Use the --prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
Users can use this tool in an easy way.
Click the side-navigator, which is hidden in the left side. And then click the File-Upload Button. The software supports Drag and drop, as well as click and upload. One thing you may mention is that if you upload two .zip as well as two .pb files at the same thing, the latest version will overwrite the older one. Gtfs Files support only one .zip and Realtime support only one .pb to be edited at the same time. You can also edit both of them without upload anything. But only the stops and routes, which you have added to the static file, can be used later in the Realtime Files.
The programm show only the basic items at the viewer's vision, you can change the other attributes of every items later, if you add it with the drag down menu. It is no need to save with the save button. Once you leave the page, the things you have added or deleted will automatically changed into the file, that you want to download later. A warning will be showed, if you have done something wrong.
Empty File will not be added to the downloaded .zip when it is not required.
The protocol will exam all the Date before it is downloaded. Follow the instruction when there is a problem.