Ramani Maps-API, tools to consume the Ramani Cloud-services
Super simple to use
Ramani Maps-API is designed to be the simplest way possible to get service from Ramani Cloud.
var ramani = ;var doAuth = ramani;doAuth; doAuth; ramani; //Get RSS-feedramani; //store pointvar fields = id : '1' name : 'pointA' ; ramani; //getArearamani;
Table of contents
- Example
- GetMetadata
- GetTransect
- GetPoint
- GetPointCube
- GetPointProfile
- GetFeatureInfo
- GetArea
- GetVerticleProfile
- GetTimeseriesProfile
- SqlApi
- StorePoint
- StorePolygon
- StoreLine
Example
To illustrate how to use our Maps-API, we provide an example application that demonstrates some of the API methods detailed below.
git clone https://team.ujuizi.com:6443/RAMANI/Maps-api-nodejs-example.git
GetMetadata
You can call this function to get metadata from the layer.
ramani;
note :
layerID => Replace layerID with the string name of the ID of a layer of your choice. A valid string consist of a layerID/param combination. You can obtain the layer ID/param-combination from the Layer Information-widget as part of our Digital Data Library (DDL).
For more information about which parameters you can get follow this link.
GetTransect
ramani;
note : coordinatesArray is an Array list, consisting of two coordinates for a single line or multiple coordinates for several segments.
Example: For example, atmospheric ozone along a line (single or multiple segments) crossing a city.
GetPoint
ramani;
note : point is consisting of one coordinate and bbox is bounding box
back to top
GetPointCube
var layerobj = ;layerobj;var grid = 3;var radius = 0005;var getCube = ramani;
note : point is consisting of one coordinate in array
back to top
GetPointProfile
var layerobj = ;layerobj;var getPointProfile = ramani;
note : point is consisting of one coordinate in array for getting data in time-series, give the duration in time on the TIME parameter. eg : TIME : "2018-11-01T00:00:00.000Z/2018-11-30T00:00:00.000Z"
back to top
GetFeatureInfo
ramani;
note : point is consisting of one coordinate and bbox is bounding box
back to top
GetArea
ramani;
note : point is consisting of one coordinate and bbox is bounding box
back to top
GetVerticleProfile
ramani; //example ramani;
note : point is consisting of one coordinate
back to top
GetTimeseriesProfile
ramani; //example ramani;
note : point is consisting of one coordinate
back to top
SqlApi
ramani; //example ramani;
back to top
StorePoint
var fields = id : '1' name : 'pointA' ; ramani;
note : point is consisting of one coordinate
back to top
StorePolygon
var fields = id : '1' name : 'pointA' ; ramani;
note : coordinatesArray is an Array list, consisting of two coordinates for a single line or multiple coordinates for several segments.
back to top
StoreLine
var fields = id : '1' name : 'pointA' ; ramani;
note : coordinatesArray is an Array list, consisting of two coordinates for a single line or multiple coordinates for several segments.