Open burritojustice opened 5 years ago
We should look to see if the space has hexbins.
Also, it would be nice to initiate a hexbin run but not sure how that would work client-side.
Note: space client
object has hexbin info:
https://xyz.api.here.com/hub/spaces/uFjNTqGV
{
"id": "uFjNTqGV",
"title": "hexbin space of NOAA tornados 1950-2017",
"description": "via maP1Z7fj, hexbins zoom 3-5",
"owner": "HERE-da1876a7-3ffe-4801-a793-fc7b447e6b33",
"client": {
"type": "hexbin",
"cellSizes": [
"204800",
"102400",
"51200",
"25600",
"6400",
"3200"
],
"zoomLevels": [
"2",
"3",
"4",
"5",
"7",
"8"
],
"hexbinSpaceId": "ZFko307v",
"sourceSpaceId": "maP1Z7fj"
},
"cid": "0VeWPmMuUeMebnjNVGz9"
}
so if hexbins by zoom are available, we:
For large datasets (say > 1 million), we should provide guidance that the dataset is large and is best viewed when zoomed in.
Where to zoom to is a different question. Viewing a million points distributed globally is different than viewing a million points in San Francisco.
Longer term possibilities include redirecting to a simplified data view if they exist (if a space has hexbins, or Tippecanoe), or even initiate a session to generate such a simplified view...