get_sites_by_latlon() assumes epsg:4326 - matching what's in BETYdb. This means that non-EPSG:4326 values will fail to find qualifying sites.
Details
It was agreed that an EPSG code parameter should be added (see references below) with a default value of 4326. The lat-lon values are to be converted to EPSG:4236 before getting passed on.
Completion Criteria
[ ] An EPSG parameter is added that defaults to 4326
[ ] A conversion is done for non-EPSG:4326 lat-lon values
[ ] The converted values are used for searching successfully
[ ] Any returned geographic information is converted to the specified EPSG code
Tags: EPSG, Coordinate System, Spatial Reference
Description
get_sites_by_latlon() assumes epsg:4326 - matching what's in BETYdb. This means that non-EPSG:4326 values will fail to find qualifying sites.
Details
It was agreed that an EPSG code parameter should be added (see references below) with a default value of 4326. The lat-lon values are to be converted to EPSG:4236 before getting passed on.
Completion Criteria
References: https://app.zenhub.com/workspaces/ua-ag-data-science-5a57a3198339f11ba1c85775/issues/terraref/drone-pipeline/37 https://app.zenhub.com/workspaces/ua-ag-data-science-5a57a3198339f11ba1c85775/issues/terraref/drone-pipeline/55