Skip to content

Provide means of accommodating lazy tiles in Python - #151

Merged
metasim merged 6 commits into
locationtech:developfrom
s22s:fix/rf-147
Jun 20, 2019
Merged

metasim merged 6 commits into
locationtech:developfrom
s22s:fix/rf-147

Conversation

@metasim

@metasim metasim commented Jun 18, 2019

Copy link
Copy Markdown
Member

Closes #147

@metasim metasim changed the title [WIP] Provides means of accommodating lazy tiles in Python Provide means of accommodating lazy tiles in Python Jun 19, 2019
metasim added 2 commits June 19, 2019 15:26
* develop:
  Upgrade to GDAL 2.4.1 Correct permissions on gdal installation delete
  matmul test python 2 compatibility.
  Python Tile type improvements: optional cell_type on declaration; equality correctly handles no_data; add __matmul__ operator
  Add unit tests using python TileUDT in UDF's.
@metasim
metasim requested a review from vpipkt June 19, 2019 19:43
@metasim

metasim commented Jun 20, 2019

Copy link
Copy Markdown
Member Author

@vpipkt Going ahead and merging this so it doesn't diverge too far. Feel free to comment and I'll roll changed into a separate PR.

@metasim
metasim merged commit bfe446a into locationtech:develop Jun 20, 2019
@metasim
metasim deleted the fix/rf-147 branch June 20, 2019 20:06
raise Exception("Invalid Tile structure. Missing cells and reference")
else:
payload = datum.cell_data.ref
cell_data_bytes = RFContext.active()._resolve_raster_ref(payload)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

And an extra 😹 for checking both ref and cells for null

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reduce / simplify ceremony to access ProjectedRasterTile in python

2 participants