Skip to content

Instantly share code, notes, and snippets.

@mbforr
Created September 23, 2022 17:16
Show Gist options
  • Save mbforr/ace04fff66e4a35504227bdecbcc5168 to your computer and use it in GitHub Desktop.
Save mbforr/ace04fff66e4a35504227bdecbcc5168 to your computer and use it in GitHub Desktop.
CALL `carto-un`.carto.CREATE_SPATIAL_INDEX_TILESET(
'project.dataset.osm_nodes_10',
'project.dataset.osm_nodes_tiles_10',
R'''{
"spatial_index_column": "h3:h3",
"resolution": 10,
"resolution_min": 0,
"resolution_max": 6,
"aggregation_resolution": 4,
"properties": {
"trip_total": {
"formula": "COUNT(id)",
"type": "Number"
}
}
}'''
);
@mbforr
Copy link
Author

mbforr commented Sep 23, 2022

Make public.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment