kurtjoy / DryVER-Web

1 stars 0 forks source link

Create a tool to get report of any point #51

Open RamizSami opened 5 years ago

RamizSami commented 5 years ago

"Location Specs - Pointer on map - click on any part and get popup specs: Long Lat Distance to established water Distance to ASPA Distance to previous camp and ID Summer mean wind speed Slope Elevation Sensitivity index

"
RamizSami commented 4 years ago

Layers to query inside the tool: Distance to established water Distance to ASPA Distance to previous camp and ID Summer mean wind speed Slope Elevation Distance to established water (distance to waterbodies) Distance to ASPA (distance to asap) Distance to previous camp and ID (distance to camp) Summer mean wind speed Slope Elevation Sensitivity index (not done yet) "mainly data from hidden raster Euclidian distance layers"

RamizSami commented 4 years ago

Distance to water (m) https://trugis.sci.waikato.ac.nz:6443/arcgis/rest/services/DRYVER/AQUATIC/MapServer/5

Distance to protected area (m) https://trugis.sci.waikato.ac.nz:6443/arcgis/rest/services/DRYVER/VISITATION/MapServer/3

Distance to previous camp (m) https://trugis.sci.waikato.ac.nz:6443/arcgis/rest/services/DRYVER/VISITATION/MapServer/2

Summer mean wind speed (m/s) https://trugis.sci.waikato.ac.nz:6443/arcgis/rest/services/DRYVER/CLIMATE/MapServer/2

Slope (degrees) https://trugis.sci.waikato.ac.nz:6443/arcgis/rest/services/DRYVER/ABIOTIC/MapServer/4

Elevation (masl) https://trugis.sci.waikato.ac.nz:6443/arcgis/rest/services/DRYVER/ABIOTIC/MapServer/9

RamizSami commented 4 years ago

Code sample (that doesn't work) `imageIdentifyTask = new ImageServiceIdentifyTask("https://trugis.sci.waikato.ac.nz:6443/arcgis/rest/services/DRYVER/AQUATIC/MapServer/5") imageParams = new ImageServiceIdentifyParameters(); imageParams.geometry = event.mapPoint; imageIdentifyTask.execute(imageParams).then(function (response) { console.log("image exexuted"); console.log(response); var results = response.results; console.log(results);

return results.map(function (result) { // var feature = result.feature; var layerName = result.layerName; // console.log(result); }) return feature; });`