The service request is a GET
HTTP call, such as in
https://service-url?param¶m=value&...¶m=value&key=SERVICE_ACCESS_KEY,
where some parameters require an associated value, while others not.
These parameters can be divided into six categories:
This set of parameters determines what the service is going to do, only one of the following tags must be provided and it does not require any value:
key]?key=SERVICE_ACCESS_KEY
ping]pong in the response
section.?ping&key=SERVICE_ACCESS_KEY
help]?help&key=SERVICE_ACCESS_KEY
tiles]?tiles&tile=33065587,774896741&key=SERVICE_ACCESS_KEY
contains]?contains&point=-16.6463,28.2768&key=SERVICE_ACCESS_KEY
intersects]?intersects&rect=-16.6463,28.2768;-16.638,28.2685&key=SERVICE_ACCESS_KEY
near]?near&point=-16.6463,28.2768&key=SERVICE_ACCESS_KEY
This set of parameters indicates the shape used to select the grid tiles, only one of the following should be provided:
tile]?tiles&tile=33065587,774896741&key=SERVICE_ACCESS_KEY
point]?contains&point=-16.6463,28.2768&key=SERVICE_ACCESS_KEY
rect]?contains&rect=-16.6463,28.2768;-16.638,28.2685&key=SERVICE_ACCESS_KEY
polygon]?contains&polygon=12.8199,42.8422;12.8207,42.8158;12.8699,42.8166;12.8678,42.8398;12.8199,42.8422&key=SERVICE_ACCESS_KEY
?contains&polygon=12.8199,42.8422;12.8207,42.8158;12.8699,42.8166;12.8678,42.8398;12.8199,42.8422:12.8344,42.8347;12.8348,42.8225;12.8570,42.8223;12.8566,42.8332;12.8344,42.8347&key=SERVICE_ACCESS_KEY
This set of parameters modify the result of the service and are used to activate cusstom options. The parameters do not need a value and some may be concurrent:
count]?contains&count&rect=-16.6463,28.2768;-16.638,28.2685&key=SERVICE_ACCESS_KEY
range]l
will hold the minimum value,
m the average value and
h the maximum value; categorical
variables will be expanded into an array containing all distinct
values. Only the
elevation
and the climate section
will be included in the result (including the
distance
when requesting the
near operation).?contains&range&rect=-16.6463,28.2768;-16.638,28.2685&key=SERVICE_ACCESS_KEY
cpy-request]?contains&range&cpy-requestrect=-16.6463,28.2768;-16.638,28.2685&key=SERVICE_ACCESS_KEY
cpy-connection]?contains&range&cpy-request&cpy-connection&point=-16.6463,28.2768&key=SERVICE_ACCESS_KEY
This set of parameters can be used to refine the results matching the provided shape using a set of variables other than the geometry:
elevation]?contains&rect=-10,30;-11,29&elevation=1000,1050&key=SERVICE_ACCESS_KEY
distance]?contains&point=-16.6463,28.2768&distance=5000&key=SERVICE_ACCESS_KEY
?near&point=-16.6463,28.2768&distance=5000&key=SERVICE_ACCESS_KEY
select]1 the property
should be included in the result, if the value is
0 the property should be excluded.
The property is represented by the label used in the
response data section. To
select properties that are part of a subsection, separate
each level by a period: for instance, to select the average
minimum temperature in February, you would provide the
following block: clim.2000.temp.l.2
?contains&rect=-10,30;-11,29&select=elev,1;clim,1&key=SERVICE_ACCESS_KEY
?contains&rect=-10,30;-11,29&select=elev,1;clim.2000.gens.e,1&key=SERVICE_ACCESS_KEY
?contains&rect=-10,30;-11,29&select=clim,0&key=SERVICE_ACCESS_KEY
This set of parameters can be used to control the maximum number of elements returned by the service and implement paging:
start]?contains&rect=-10,30;-11,29&start=0&key=SERVICE_ACCESS_KEY
limit]?contains&rect=-10,30;-11,29&start=0&limit=10&key=SERVICE_ACCESS_KEY