node js wrapper voor de TNO dinoservices (http://www.dinoservices.nl/geo3dmodelwebservices-1/) (versie 1.4.3)
node api.js
Als het goed is verschijnt de volgende output, de foutmeldingen worden gegenereerd door restify en hebben geen invloed op de werking van de wrapper
{ [Error: Cannot find module './DTraceProviderBindings'] code: 'MODULE_NOT_FOUND' } { [Error: Cannot find module './DTraceProviderBindings'] code: 'MODULE_NOT_FOUND' } api listening at http://0.0.0.0:8080 api listening at http://0.0.0.0:8080
De applicatie gebruikt de node.js cluster module. Hierdoor worden op basis van het aantal processoren in je computer op elke core een proces gestart
- GET localhost:8080/models/list
- GET localhost:8080/models/{model}/{resolution}/describe
- GET localhost:8080/models/{model}/{resolution}/verticalsectionpicture
- GET localhost:8080/models/{model}/{resolution}/rasters/{modellayer}
- GET localhost:8080/models/{model}/{resolution}/documents/{modellayer}
- GET localhost:8080/models/{model}/{resolution}/columnsample
- GET localhost:8080/models/{model}/{resolution}/columnpicture