-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sketch for raw raster support in pcfuncs #150
base: main
Are you sure you want to change the base?
Conversation
) | ||
except Exception: | ||
logger.warning(f"Tile request failed with backoff: {url}") | ||
return None |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If there is an exception we return None, it will then be handled later
x = 0 | ||
y = 0 | ||
for i, img in enumerate(tile_images): | ||
if not img: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if there was an exception in get_tile
) | ||
server = Server(config=config) | ||
with server.run_in_thread(): | ||
yield "http://127.0.0.1:5000" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we create a small tiler which will run in thread
…omputer-apis into PcFuncsGDALRaster
This PR adds support for
raw
raster support in pcfuncs to allow direct access to the raster tiles values (instead of using PNG/JPEG representation of the data). This means that tiles should be required astiff
(png/jpeg/webp format will still be possible).To Do