We don't make use of the new 'transformed_row' entry in the body of '/requests/:result-id/response-details' response (of async api), because that entry is present only when 'dataset=brownfield-land' is passed as param. We currently don't support 'brownfield-land' datasets, so that's not available in to us.
Instead, 'POINT' value is extracted manually from the GeoX, GeoY columns (when present).
What type of PR is this?
Description
ResponseDetails.getGeometries()
returns array of"POINT (X Y)"
when geometry data is stored in a pair of columns:GeoX
andGeoY
.Related Tickets & Documents
There async-request-api made changes recently that can potentially help us with the above (see https://github.com/digital-land/async-request-backend/pull/41), but not in this particular PR.
We don't make use of the new 'transformed_row' entry in the body of '/requests/:result-id/response-details' response (of async api), because that entry is present only when 'dataset=brownfield-land' is passed as param. We currently don't support 'brownfield-land' datasets, so that's not available in to us.
Instead, 'POINT' value is extracted manually from the GeoX, GeoY columns (when present).
Added/updated tests?