(Vector) masks #592
philip-monk
started this conversation in
Ideas
Replies: 2 comments 2 replies
-
|
I imagine it's best not to get yourself in a muddle of geometries in the first place, so obviously demonstrating the best approach is most useful. I wonder, though, if there is also scope to show how to get yourself out of a pickle if you find yourself, as I do, trying to understand geometry behaviour that makes no sense and for which documentation is self-referential (and therefore of very limited use). |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
You can use |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello again,
Would it be possible to create a Jupyter Notebook that demonstrated the use of masks?
A bit of context may help clarify the intent:
I am using Landsat 8 (and eventually Sentinel 2) data to evaluate the thermal effects of renewable energy (on land surface temperature in and around site locations).
The methodology I have inherited and am currently using is very manual.
At present, I am tangled in a mess of geometries at stage 4 - see https://code.earthengine.google.com/?scriptPath=users%2Fprmonk%2FLST_CI%3AOutline_and_buffers_Stateline. I have overlapping geometries in a geometry collection - some described clockwise, and some anti-clockwise. Naively, I assumed I would be able to just draw some shapes, bundle them together, and subtract them from the buffers. It seems to be a lot more complicated than this!
I know that there is a built-in method, ee.image.mask, and various API's you provide that are related, including ee_to_geojson, ee_to_shp and vector_to_geojson, which may be part of the solution in terms of managing geometries in this kind of task.
I can see the utility in being able to mask an image and control where processing/analysis/sampling/interactions occur in a way that is derived from either an imported geometry and/or a user-input geometry.
I wonder if you could create a notebook to unpick this for the next person (and hopefully help me work out where I am going wrong).
Thanks again for such an amazing resource.
Best wishes,
Philip
Beta Was this translation helpful? Give feedback.
All reactions