Response data structure

The response of the service is a JSON object divided into four sections:

Status
This section provides information regarding the outcome of the service call, the number of elements processed by the operation and paging information in case the service call returns more than one result record.
Request
This section returns the request received by the service.
This section is useful for debugging purposes and it is optional: it is disabled in production.
Connection
This section returns the database connection details.
This section is useful for debugging purposes and it is optional: it is disabled in production.
Response
This section contains the data requested from the service.

The service will always return the status section, while the response section will be returned only if the service found results and there were no errors.

Status section [status]

This section is comprised of elements that provide information on the operation status, errors or warnings, on the affected count of elements processed by the operation and on current paging limits.

Operation state [state]
The state indicates the outcome of the operation, this item is always present.
  • OK: Successful operation.
  • ERROR: The operation failed.
  • IDLE: This should never be returned: if that happens it means that there was an uncaught error before the service was done parsing the request.
Affected count [total]
This element contains the total count of objects affected by the operation. Suppose you request all tiles contained in the provided square, this element will contain the total count of the tiles selected by the service, altough you might only request the first 10.
Starting record [start]
This paging variable contains the 0-based index of the first returned element. If you were requesting the second 10 records, this element would be 1.
Page limit [limit]
This paging variable contains the maximum number of elements to be returned by the current request. If you were requesting at most 10 records, this element would be 10.
Note that this element does not hold the actual number of returned elements.
Actual count [count]
This paging variable contains the actual number of elements returned by the service.
Note that this number may be smaller than the maximum number of requested elements .
Status message [message]
This element holds eventual error messages or notices. This element will always be returned in case the service fails because of an error; it may be returned if the service has enforced settings, such as a page limit for operations that could return a large number of results.
Error code [code]
This element holds the eventual error code, this will only occur if there was an error.
Note that this is for debugging purposes and it is disabled in production.
Error file [file]
This element holds the eventual error file path, this will only occur if there was an error.
Note that this is for debugging purposes and it is disabled in production.
Error file line [line]
This element holds the eventual error file line, this will only occur if there was an error.
Note that this is for debugging purposes and it is disabled in production.
Error trace [trace]
This element holds the eventual error trace, this will only occur if there was an error.
Note that this is for debugging purposes and it is disabled in production.

Request section [request]

This section will return the request as interpreted by the service. This means that you will only see the parameters that the service recognised or handled, in the format used by the service.
Note that this is generally used for debugging purposes and is only available if requested to the service.

Connection section [connection]

This section will return the database connection information.
Note that this is generally used for debugging purposes and is only available if requested to the service.
This option is disabled in production.

Database server [server]
The server DSN.
Database name [database]
The server database.
Collection name [collection]
The server database collection.

Response section [data]

This section will return the service data, in case the operation was successful and results were found.

The data is structured as a single or an array of records that contain the following information:

Tile index [_id]
The tile index or id [int]. The grid is divided into 43200 horizontal and 18000 vertical tiles, this element represents the unique identifier of the tile and is calculated by the formula (Y * 43200) - (X + 1), where both X and Y are 0-based.
Tile center point [pt]
The tile center coordinates, in decimal degrees. This element is an object formatted as a GeoJSON point:
  • type: The constant Point.
  • coordinates: An array of two elements corresponding respectively to the longitude and latitude of the point in decimal degrees.
Tile center point [dms]
The tile center coordinates, in degrees, minutes and seconds notation. This element is an array of two elements corresponding respectively to the longitude and latitude of the point, formatted as a DDD°MM'SS"H string in which DDD corresponds to the degrees, MM to the minutes, SS to the seconds and H to the hemisphere (N or S for latitude and E or W for longitude).
Tile X and Y [tile]
The tile X and Y indices as an array of two integers.
Tile vertices [bdec]
The tile vertices in decimal degrees. The element is structured as an array of two items representing respectively the top-left and bottom-right coordinates of the tile. Both items are an array of two elements, longitude and latitude, representing the coordinates of the vertex.
Tile vertices [bdms]
The tile vertices in degrees, minutes and seconds. The element is structured as an array of two items representing respectively the top-left and bottom-right coordinates of the tile. Both items are an array of two elements, longitude and latitude, representing the coordinates of the vertex and formatted as a DDD°MM'SS"H string in which DDD corresponds to the degrees, MM to the minutes, SS to the seconds and H to the hemisphere (N or S for latitude and E or W for longitude).
Tile elevation [elev]
The tile elevation in meters.
Distance [dist]
The distance of the tile center from the provided point in meters. This element is only returned for operations requesting tiles by proximity.
Tile climate [clim]
The tile climate variables. This section holds a series of sub-sections representing the period to which the climatic variables refer to, each section is structured in the same way.
Currently, the service only provides current climate conditions, this sub-section is tagged by 2000.
Global Environment Stratification [gensNEW
This element represents the global environment stratification for the current tile, it is an array of three elements representing:
  • id: The global environment stratification identifier composed of the concatenation of the environmental zone code and the stratification code.
  • c: The climatic zone code:
    • 1: Arctic / Alpine.
    • 2: Boreal / Alpine.
    • 3: Cool temperate.
    • 4: Warm temperate.
    • 5: Sub-tropical.
    • 6: Drylands.
    • 7: Tropical.
  • e: The environmental zone code:
    • A: Arctic.
    • B: Arctic.
    • C: Extremely cold and wet.
    • D: Extremely cold and wet.
    • E: Cold and wet.
    • F: Extremely cold and mesic.
    • G: Cold and mesic.
    • H: Cool temperate and dry.
    • I: Cool temperate and xeric.
    • J: Cool temperate and moist.
    • K: Warm temperate and mesic.
    • L: Warm temperate and xeric.
    • M: Hot and mesic.
    • N: Hot and dry.
    • O: Hot and arid.
    • P: Extremely hot and arid.
    • Q: Extremely hot and xeric.
    • R: Extremely hot and moist.
Harmonized World Soil [hwsdNEW
This element represents the the harmonized world soil database, this attribute provides soil information in the 30 seconds grid, reference information can be found here. This information is coded as follows:
  • 001: Ferric Acrisols
  • 002: Dunes/Sand
  • 003: Orthic Ferralsols
  • 004: Plinthic Ferralsols
  • 005: Rhodic Ferralsols
  • 006: Dystric Gleysols
  • 007: Eutric Gleysols
  • 008: Humic Gleysols
  • 009: Lithosols
  • 010: Eutric Fluvisols
  • 011: Dystric Fluvisols
  • 012: Ferric Luvisols
  • 013: Gleyic Luvisols
  • 014: Dystric Nitosols
  • 015: Eutric Nitosols
  • 016: Cambic Arenosols
  • 017: Ferralic Arenosols
  • 018: Luvic Arenosols
  • 019: Rock Outcrops
  • 020: Calcaric Regosols
  • 021: Dystric Regosols
  • 022: Eutric Regosols
  • 023: Salt flats
  • 024: Orthic Solonetz
  • 025: Chromic Vertisols
  • 026: Pellic Vertisols
  • 027: Haplic Xerosols
  • 028: Calcic Xerosols
  • 029: Gypsic Xerosols
  • 030: Yermosols
  • 031: Haplic Yermosols
  • 032: Calcic Yermosols
  • 033: Solonchaks
  • 034: Gleyic Solonchaks
  • 035: Orthic Solonchaks
  • 036: Orthic Acrisols
  • 037: Chromic Cambisols
  • 038: Ferralic Cambisols
  • 039: Humic Ferralsols
  • 040: Xanthic Ferralsols
  • 041: Gleysols
  • 042: Fluvisols
  • 043: Calcaric Fluvisols
  • 044: Chromic Luvisols
  • 045: Unknown
  • 046: Humic Nitosols
  • 047: Dystric Histosols
  • 048: Eutric Histosols
  • 049: Humic Podzols
  • 050: Vertisols
  • 051: Eutric Planosols
  • 052: Sodic Planosols
  • 053: Plinthic Acrisols
  • 054: Eutric Cambisols
  • 055: Gleyic Cambisols
  • 056: Humic Cambisols
  • 057: Calcic Cambisols
  • 058: Vertic Cambisols
  • 059: Rendzinas
  • 060: Haplic Phaeozems
  • 061: Luvic Phaeozems
  • 062: Thionic Fluvisols
  • 063: Kastanozems
  • 064: Calcic Kastanozems
  • 065: Luvic Kastanozems
  • 066: Luvisols
  • 067: Albic Luvisols
  • 068: Orthic Luvisols
  • 069: Plinthic Luvisols
  • 070: Regosols
  • 071: Humic Andosols
  • 072: Mollic Andosols
  • 073: Ochric Andosols
  • 074: Vitric Andosols
  • 075: Planosols
  • 076: Dystric Planosols
  • 077: Xerosols
  • 078: Takyric Yermosols
  • 079: Gypsic Yermosols
  • 080: Takyric Solonchaks
  • 081: Dystric Cambisols
  • 082: Water bodies
  • 083: Luvic Chernozems
  • 084: Mollic Gleysols
  • 085: Haplic Kastanozems
  • 086: Luvic Xerosols
  • 087: Gelic Cambisols
  • 088: Haplic Chernozems
  • 089: Gelic Gleysols
  • 090: Orthic Greyzems
  • 091: Gelic Histosols
  • 092: Orthic Podzols
  • 093: Gelic Regosols
  • 094: Mollic Solonetz
  • 095: Calcic Luvisols
  • 096: Vertic Luvisols
  • 097: Albic Arenosols
  • 098: Luvic Yermosols
  • 099: Humic Acrisols
  • 100: Calcaric Gleysols
  • 101: Gleyic Acrisols
  • 102: Dystric Podzoluvisol
  • 103: Gleyic Phaeozems
  • 104: Acric Ferralsols
  • 105: Gleyic Podzols
  • 106: Calcic Chernozems
  • 107: Eutric Podzoluvisols
  • 108: Histosols
  • 109: Leptic Podzols
  • 110: Humic Planosols
  • 111: Placic Podzols
  • 112: Glaciers
  • 113: No Data
  • 114: Urban, mining, etc.
  • 115: Humanly disturbed
  • 116: Fibric Histosols
  • 117: Calcaric Cambisols
  • 118: Umbric Gleysols
  • 119: Folic Histosols
  • 120: Dystric Leptosols
  • 121: Haplic Podzols
  • 122: Haplic Solonetz
  • 123: Ferric Podzols
  • 124: Dystric Podzoluvisols
  • 125: Rendzic Leptosols
  • 126: Gleyic Podzoluvisols
  • 127: Stagnic Podzoluvisols
  • 128: Calcic Gleysols
  • 129: Haplic Greyzems
  • 130: Calcaric Phaeozems
  • 131: Lithic Leptosols
  • 132: Mollic Fluvisols
  • 133: Albic Luvsiols
  • 134: Terric Histosols
  • 135: Gleyic Solonetz
  • 136: Haplic Andosols
  • 137: Gelic Andosols
  • 138: Umbric Leptosols
  • 139: Mollic Leptosols
  • 140: Eutric Vertisols
  • 141: Mollic Planosols
  • 142: Haplic Calcisols
  • 143: Luvic Calcisols
  • 144: Haplic Solonchaks
  • 145: Haplic Luvisols
  • 146: Haplic Arenosols
  • 147: Stagnic Luvisols
  • 148: Umbric Andosols
  • 149: Cambic Podzols
  • 150: Haplic Gypsisols
  • 151: Haplic Alisols
  • 152: Stagnic Phaeozems
  • 153: Haplic Acrisols
  • 154: Gleyic Arenosols
  • 155: Thionic Gleysols
  • 156: Cumulic Anthrosols
  • 157: Calcaric Arenosols
  • 158: Aric Anthrosols
  • 159: Fimic Anthrosols
  • 160: Gleyic Chernozems
  • 161: Petric Calcisols
  • 162: Luvic Gypsisols
  • 163: Calcic Gypsisols
  • 164: Petric Gypsisols
  • 165: Umbric Fluvisols
  • 166: Calcic Vertisols
  • 167: Leptosols
  • 168: Ferric Lixisols
  • 169: Eutric Leptosols
  • 170: Dystric Vertisols
  • 171: Salic Fluviosls
  • 172: Mollic Solonchaks
  • 173: Gypsic Solonchaks
  • 174: Sodic Solonchaks
  • 175: Calcic Solonchaks
  • 176: Calcic Solonetz
  • 177: Gypsic Solonetz
  • 178: Plinthic Alisols
  • 179: Anthrosols
  • 180: Gelic Leptosols
  • 181: Haplic Ferralsols
  • 182: Humic Nitisols
  • 183: Ferric Alisols
  • 184: Albic Lixisols
  • 185: Stagnic Alisols
  • 186: Dunes & shift.sands
  • 187: Island
  • 188: Fishpond
  • 189: Haplic Lixisols
  • 190: Gleyic Alisols
  • 191: Haplic Nitisols
  • 192: Carbic Podzols
  • 193: Rhodic Nitisols
  • 194: Albic Plinthosols
  • 195: Eutric Plinthosols
  • 196: Dystric Plinthosols
  • 197: Geric Ferralsols
  • 198: Humic Plinthosols
  • 199: Umbric Regosols
  • 200: Humic Alisols
  • 201: Chernozems
  • 202: Calcisols
  • 203: Cambisols
  • 204: Gypsisols
  • 205: SOLONETZ
  • 206: Umbric Planosols
  • 207: Plinthic Lixisols
  • 208: Stagnic Lixisols
  • 209: Stagnic Solonetz
  • 210: Glossic Chernozems
  • 211: Gleyic Lixisols
Global Human Footprint [ghfNEW
This element provides an updated map of anthropogenic impacts on the environment in geographic projection which can be used in wildlife conservation planning, natural resource management, and research on human-environment interactions. More information can be found here. The provided value is a value ranging from 0 to 100 where 0 indicates no human impact.
Global Land Cover [gcovNEW
This element provides a land cover map, reference information can be found here. This information is coded as follows:
  • 011: Post-flooding or irrigated croplands (or aquatic)
  • 014: Rainfed croplands
  • 020: Mosaic cropland (50-70%) / vegetation (grassland/shrubland/forest) (20-50%)
  • 030: Mosaic vegetation (grassland/shrubland/forest) (50-70%) / cropland (20-50%)
  • 040: Closed to open (>15%) broadleaved evergreen or semi-deciduous forest (>5m)
  • 050: Closed (>40%) broadleaved deciduous forest (>5m)
  • 060: Open (15-40%) broadleaved deciduous forest/woodland (>5m)
  • 070: Closed (>40%) needleleaved evergreen forest (>5m)
  • 090: Open (15-40%) needleleaved deciduous or evergreen forest (>5m)
  • 100: Closed to open (>15%) mixed broadleaved and needleleaved forest (>5m)
  • 110: Mosaic forest or shrubland (50-70%) / grassland (20-50%)
  • 120: Mosaic grassland (50-70%) / forest or shrubland (20-50%)
  • 130: Closed to open (>15%) (broadleaved or needleleaved, evergreen or deciduous) shrubland (<5m)
  • 140: Closed to open (>15%) herbaceous vegetation (grassland, savannas or lichens/mosses)
  • 150: Sparse (<15%) vegetation
  • 160: Closed to open (>15%) broadleaved forest regularly flooded (semi-permanently or temporarily) - Fresh or brackish water
  • 170: Closed (>40%) broadleaved forest or shrubland permanently flooded - Saline or brackish water
  • 180: Closed to open (>15%) grassland or woody vegetation on regularly flooded or waterlogged soil - Fresh, brackish or saline water
  • 190: Artificial surfaces and associated areas (Urban areas >50%)
  • 200: Bare areas
  • 210: Water bodies
  • 220: Permanent snow and ice
  • 230: No data (burnt areas, clouds,…)
Bioclimatic variables [bio]
This element is an array of 19 bioclimatic variables tagged by 1 to 19:
  • 1: Annual Mean Temperature [C° * 10].
  • 2: Mean Diurnal Range (Mean of monthly (max temp - min temp)) [C° * 10].
  • 3: Isothermality (bio[2]/bio[7]) (* 100).
  • 4: Temperature Seasonality (standard deviation *100).
  • 5: Max Temperature of Warmest Month [C° * 10].
  • 6: Min Temperature of Coldest Month [C° * 10].
  • 7: Temperature Annual Range (bio[5]-bio[6]).
  • 8: Mean Temperature of Wettest Quarter [C° * 10].
  • 9: Mean Temperature of Driest Quarter [C° * 10].
  • 10: Mean Temperature of Warmest Quarter [C° * 10].
  • 11: Mean Temperature of Coldest Quarter [C° * 10].
  • 12: Annual Precipitation.
  • 13: Precipitation of Wettest Month.
  • 14: Precipitation of Driest Month.
  • 15: Precipitation Seasonality (Coefficient of Variation).
  • 16: Precipitation of Wettest Quarter.
  • 17: Precipitation of Driest Quarter.
  • 18: Precipitation of Warmest Quarter.
  • 19: Precipitation of Coldest Quarter.
Monthly precipitation [prec]
This element collects the monthly precipitation, it is an array of 12 elements, one per month (mm.)
Monthly temperature [temp]
This element collects the monthly temperatures, it is an array of 3 elements:
  • l: Average monthly minimum temperature [C° * 10].
    This element is an array of 12 items, tagged 1 to 12, one per month.
  • m: Average monthly mean temperature [C° * 10].
    This element is an array of 12 items, tagged 1 to 12, one per month.
  • h: Average monthly maximum temperature [C° * 10].
    This element is an array of 12 items, tagged 1 to 12, one per month.