Use pyhydrogeo to get land use at specific lat / lon #79
-
Good morning, For an aviation use case - "Where did the drone launch?' - I'd like to get the land use for a lot of points in the U.S. I think I can use the NLCD to do this and the PyGeoHydro example seems to almost get me there. (https://hyriver.readthedocs.io/en/latest/notebooks/nlcd.html) Observations:
Questions:
Thank you very much. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@kovar-ursa Good morning! Answer to your questions:
stats = gh.cover_statistics(lulc.cover_2019)
type_max = max(stats, key=stats.get) However, the current implementation of |
Beta Was this translation helpful? Give feedback.
@kovar-ursa Good morning!
Answer to your questions:
cover_statistics
function to get the summaries. Since resolution of NLCD is 30 m, it's best if you set the resolution to 30 m and use a bounding box with 30 m sides around the point of interest.However, the current implementation of
nlcd
function is not meant for point-based requests. I can see a couple of ways for implementing an efficient function for this specific purpose. Since this can be a useful feature for other users as w…