Tripal Plant PopGen Submit
|
Go to the source code of this file.
Functions | |
tpps_get_env_response ($layer_id, $lat, $long) | |
tpps_get_environmental_layer_data ($layer_id, $lat, $long, $param) | |
Defines functions to load environmental data from CartograTree layers.
Definition in file get_env_data.inc.
tpps_get_env_response | ( | $layer_id, | |
$lat, | |||
$long | |||
) |
This function loads data for a CartograTree layer at a lat/long coordinate.
int | $layer_id | The identifier of the CartograTree environmental layer. |
float | $lat | The latitude coordinate being queried. |
float | $long | The longitude coordinate being queried. |
Definition at line 54 of file get_env_data.inc.
tpps_get_environmental_layer_data | ( | $layer_id, | |
$lat, | |||
$long, | |||
$param | |||
) |
This function parses and returns a data point from a CartograTree layer.
The data point for the layer at the specified location is obtained by calling tpps_get_env_response, and the resulting response string is parsed to return the specified parameter.
int | $layer_id | The identifier of the CartograTree environmental layer. |
float | $lat | The latitude coordinate being queried. |
float | $long | The longitude coordinate being queried. |
string | $param | The name of the parameter type. |
Definition at line 27 of file get_env_data.inc.