Story #3875: Create a dashboard (version 1) for DataONE to provide high level overall system status
Add a CN reporting script that summarizes spatial data for the dashboard
Spatial data in the CN Solr search index includes per-object bounding box data. For client side mapping purposes, these data are too numerous to add to a vector map. Create a spatial summarization script that reduces the total points to summarized counts at a given cell resolution. Allow for the resolution to be configurable. Export the result as a JSON object, compatible with mapping libraries like heatmapjs and D3js.
#4 Updated by Chris Jones over 8 years ago
I've created the reporting script under d1_cn_spatial_reporter, see https://repository.dataone.org/software/cicore/trunk/cn/d1_cn_tools/d1_cn_spatial_reporter. This script queries the CN Solr search index for bounding coordinates and produces a few different outputs, including a shapefile, geotiff, and GeoJSON. Due to performance issues on the client side, the GeoJSON needs to be reduced in size, and further work needs to be done in making the output to be JSON compliant. I'm currently using the ogr.Geometry.ExportToJSON() method, and this needs to be replaced with a custom JSON output.
Assigning subtasks to Chris Brumgard to work on this.