This repository has been archived by the owner on Dec 20, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
TODO: Changing / Creating new zoom level (Upsampling / Downsampling) #13
Labels
Comments
Pull request #14
|
See also Geotrellis Pull Request: locationtech/geotrellis#2511 |
For now, issue closed Uses a wrapper resampleLayerToZoom around geotrellis.spark.resample.ZoomResampleMultibandMethods (not yet in Geotrellis master, pull request pending, using local copy):
Combined with Pyramid.up for 'both way' resampling:
|
MultibandTile Support added to Geotrellis: |
aklink
added a commit
that referenced
this issue
Feb 27, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We need to be able to change resolution / zoom levels if merging (mosaicing or layer stacking) layers with different zoom levels. Current approach selects highest zoom level common to all layers, but it fails if there is no common zoom level.
Also it would be nice to be able to set resolution to a specific value (alos between two zoom levels).
We will try to use ZoomResample for it:
https://github.com/locationtech/geotrellis/blob/master/spark/src/test/scala/geotrellis/spark/resample/ZoomResampleSpec.scala
https://github.com/locationtech/geotrellis/blob/master/spark/src/main/scala/geotrellis/spark/resample/ZoomResample.scala
An other approach is using Regrid:
https://github.com/locationtech/geotrellis/blob/master/spark/src/test/scala/geotrellis/spark/regrid/RegridSpec.scala
https://github.com/locationtech/geotrellis/blob/master/spark/src/main/scala/geotrellis/spark/regrid/Regrid.scala
The text was updated successfully, but these errors were encountered: