Ramani Maps-API Framework

With the Ramani Maps-API Framework for Android and iOS, you can add map data to your application. The API automatically handles access to the map servers, tile map display, and get some data from the map servers.

Layer Attributes

The table below provides a list of parameters that can be set or retrieved from the metadata of each layer.


Function Parameters Notes Possible values
Layer times TIME Time value or range for map data. 2010-02-04T00:00:00.000Z or get datesWithData or nearestTimeIso from metadata.
Layer elevations ELEVATION Height or depth of a layer. Some geospatial information may be available at multiple elevations (for example, ozone concentrations at different heights in the atmosphere). 1 or get zaxis values from metadata.
Layer styles STYLES Styles in which layers may be rendered. For contour plots (black-white) use the contour-style (supply "contour" as parameter value). For a coloured map, supply "boxfill" as paramter value. Each layer advertises a number of available STYLES for rendering consisting of the name of the color palette pre-pended by "boxfill", e.g. STYLES=boxfill/rainbow. The STYLES param may be left empty to use the default layer styling. "contour" or "boxfill/redblue" or get supportedStyles. If omitted, the most suitable color palette for the layer in question is used (see defaultPalette from metadata).
Colour scale range COLORSCALERANGE Scale range used. If omitted, the default range is used which ensures that the same color scale range is used for each rendered map layer. COLORSCALERANGE=min,max: The extremes of the colour scale are set to min and max (in the native units of the variable in question). COLORSCALERANGE=auto: DDL Web Services sets the scale range to the min and max values of the generated image (i.e. maximum contrast stretch). "min,max" or specifiy custom values, e.g. "-140,140". Use get scaleRange from metadata.
Colour scale LOGSCALE Set true to use a logarithmic spacing between the min and max of the colour scale range. This is particularly useful where data values vary over several orders of magnitude in an image (common in biological parameters). LOGSCALE cannot be set true if the colour scale range includes zero or negative values. Default is false. Use "true" or "false".
Colour for values smaller than the minimum BELOWMINCOLOR When specifying a colour directly RR, GG, BB are hexadecimal values for the red, green and blue colour components respectively. "extend" will use the smallest value of the palette for values smaller than the minimum, and "transparent" will make them transparent. Use "extend", "transparent", or a colour in the format 0xRRGGBB.
Colour for values larger than the maximum ABOVEMAXCOLOR When specifying a colour directly RR, GG, BB are hexadecimal values for the red, green and blue colour components respectively. "extend" will use the highest value of the palette for values larger than the maximum, and "transparent" will make them transparent. Use "extend", "transparent", or a colour in the format 0xRRGGBB.
Colour bands NUMCOLORBANDS Only applicable for "boxfill" style. Setting this to a relatively low number (e.g. 10) will produce obvious colour banding, giving the appearance of contour lines. Default value is 253. 253 or get numColorBands from metadata.
Number of contours NUMCONTOURS Only applicable for "contour" style. For contour plots this sets the number of contours to use between the min and max values specified in COLORSCALERANGE. Default value is 10. Any positive integer above 2.
Format FORMAT Format returned for a map requested (getMap, getAnimation). "image/png", "image/png;mode=32bit", "image/gif", "image/jpeg", "application/vnd.google-earth.kmz"
Format returned for a data request (getFeatureInfo, getVerticalProfile, etc.). "image/png" or "image/svg" for rendered graphs; "text/xml", "text/json", and "text/geojson" for raw data.