databrickslabs / mosaic

An extension to the Apache Spark framework that allows easy and fast processing of very large geospatial datasets.
https://databrickslabs.github.io/mosaic/
Other
269 stars 66 forks source link

grid_tessellateexplode, grid_tessellate #572

Open tony189 opened 1 month ago

tony189 commented 1 month ago

Hi!

It would be really usefull if you could chose to retrieve just the indexes ineastead the whole chip array in these functions to have a similar result to polyfill.

Thanks for your work

sllynn commented 1 month ago

Hi Tony. We have the grid_polyfill function (docs), if that's what you're after? Or do you want the set of indexes that 'covers' the geometry? In which case, there's a product native H3 function you can use documented here