-
Notifications
You must be signed in to change notification settings - Fork 3
Raster tile to pixels and back #8
Comments
If the sfc hash is unique and we do not get problems with different zoom levels (when combining data from different sources, e.g. Aerial DOP and Sentinel2) while using the offset, then we can go this way. |
I would treat the layer name/zoom level as some kind of "global parameter" not passed to every pixel-sample. We usually want just the largest zoom of a particular layer anyways. The lower resolutions in a pyramid are computed only for rendering in browser. Thus, for a particular layer name Here is a pseudo code for pixelizing a single
And here is a pseudo code for creating a stream of tiles from a stream of pixels
|
related to issue #7 |
@aklink - can we now close this issue ? |
Yes. Can be closed. |
While writing a paper about BigGIS architecture, I realized that for the "pixelization" operation, we actually don't want the
(ts, lat, lon)
coordinates because they are more complicated to use when converting pixels back to a tile.Instead, I would propose to use
(sfc, offset)
coordinates.sfc = HASH_SFC(gridx, gridy, ts)
generated by geotrellis.offset = row * width + column
What do you think?
The text was updated successfully, but these errors were encountered: