gemeenteutrecht / bereikbaarheid-frontend Goto Github PK
View Code? Open in Web Editor NEWDe frontend voor de bereikbaarheidskaart
Home Page: https://kaart.nationaalwegenbestand.nl/bereikbaarheid
License: Mozilla Public License 2.0
De frontend voor de bereikbaarheidskaart
Home Page: https://kaart.nationaalwegenbestand.nl/bereikbaarheid
License: Mozilla Public License 2.0
Describe the bug
The code expects from the RDW API a value with the name maximum_massa_samenstelling (which does not exist anymore, at least not in all cases)
To Reproduce
Expected behavior
the page should show the RDW results but does not
Screenshots
I believe the problem is the following.
on the left the code expects a column in the RDW data with the name 'maximum_massa_samenstelling'
this column does not exist in the API (anymore) so it seems.
It used to be there and return a value.
This is the url of the API of RDW https://opendata.rdw.nl/api/id/m9d7-ebf2.json?kenteken=BXLS14
So the bug is i believe on this page https://github.com/GemeenteUtrecht/bereikbaarheid-frontend/blob/main/src/api/rdw/vehicle/index.ts
Additional context
The relevance of this value, if I remember correctly, is to check whether or not the vehicle weight together with the weight of the load should be lower then maximum_massa_samenstelling . If this value does not exist the code breaks. As a quick fix the maximum value could be hard coded as 60000 kg. Later it can replaced in a better way.
Also on the RDW webpage https://ovi.rdw.nl/ the value is 0 (problaby not existing and then defaulting to 0 )
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.