Comments (5)
Sometimes NS introduces new types of transport descriptions. Like "bus" or "vervangend vervoer". Not all of these are mapped to symbols (yet).
If you manage to figure out the description to map and have a suggestion for the symbol, a PR is most welcome.
from mmm-nstreinen.
Hi Chris,
Received my PR ?
Did some researche,, not having any experience with NodeJs.
But i managed to find out that the 'nstreinen.js' lacked in the "LegRenaming" part the entry "ST": "Stoptrein",
On the NS API website you can test your API key, getting an overview of the receiving tekst.
This wil not cost you tons of time to update your beautifull Module.
Regards Henk
from mmm-nstreinen.
The PR hasn't reached me. Where did you create/send it?
from mmm-nstreinen.
Hi Chris,
Hope the list is complete.
I think, the symbols are not a big issue.
A train is a train, and it comes with a explanatory text.
Symbols can be obtained from the NS Web application ;-).
Regards, Henk
legRenaming:
"SPR": "Sprinter",
"IC": "Intercity",
"ICE": "ICE Internationaal",
"ICD": "Intercity Direct",
"NJ": "Nightjet"
"NSS": "Snelbus"
"ST": "Stoptrein",
"S": "Sneltrein",
"BUS": "Stopbus i.p.v. trein",
symbolMapping:
Naam in NS planner icon Mtschp
"NS Int ICE International" 'train' //NS int
'NS Int Intercity' 'train' //NS int
"NS Int Nightjet" 'train' //NS int
'Nightjet' 'train' //NS Int
'NS Intercity': 'train' //NS
'NS Sprinter': 'train' //NS
'Arriva Sneltrein': 'train' //Arriva
'Arriva Stoptrein' 'train' //Arriva
'R-net Stoptrein': 'train' //R-net
'R-net Sprinter': 'train' //R-net
'Valleilijn Stoptrein': 'train' //connexion
'Blauwnet Sprinter': 'train' //Blauwnet
'Blauwnet Sneltrein": 'train' //Blauwnet
'Blauwnet Stoptrein': 'train' //Blauwnet
'NMBS Stoptrein 'train' //NMBS
'DB Stoptrein': 'train' //DB Regio NRW
'VIAS Stoptrein': 'train' //VIAS Rail GMBH
'Eurobahn Stoptrein': 'train' //Eurobahn
'Eurobahn Sneltrein', 'train' //Eurobahn
'Eurobahn Stopbus i.p.v. trein' 'bus' //Eurobahn
Aansluitingen:
Type Icon
'Arriva Bus' 'bus' //Arriva
'RET Metro': 'metro' //R'dam
'GVB Tram': 'tram' //A'dam
'RET Tram': 'tram' //R'dam
'GVB Veerdienst': 'ferry' //A'dam
'Lopen': 'walk'
'Fietsen': 'bike'
'Openbaar vervoer': 'bus'
'Auto': 'auto'
'Bus': 'bus'
from mmm-nstreinen.
Sorry,
The spaces are removed automaticly :-(.
from mmm-nstreinen.
Related Issues (20)
- Module stuck after a while HOT 4
- New API HOT 11
- add style to delayed time (red/colored) HOT 2
- randstadrail HOT 4
- Module doesn't show HOT 8
- Module stuck at 'Loading...' HOT 7
- Error fetching station HOT 1
- "received data emppty or invalid" HOT 4
- maxEntries setting in config seems not to work HOT 2
- Unclear error message when an incorrect API key is specified.
- npm install results in errors HOT 12
- Error when specifying the arrival station: "Error fetching NS info: invalid API key" HOT 2
- Module doesn't start. Update in install required? HOT 2
- Keeps loading HOT 2
- Error fetching NS info: invalid API key HOT 5
- nstreinen, "Invalid namespace" HOT 4
- Getting new (undefined) error HOT 3
- Error (undefined) fetching NS info HOT 5
- Met deze API key mogen geen deur-tot-deur adviezen opgevraagd worden
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mmm-nstreinen.