You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The read_array method can read the whole band, read a window using top_left_corner and width and height, or a polygon geodataframe.
The extract method extracts the values at the location of point geometry, the extract now reads the entire dataset to extract the values and used array slicing to access the array, which is not efficient if the dataset is big.
the extract method could be merged into the read_array method where a new parameter can be added points and the values can be extracted using the same way in the extract method now if the dataset is small, In case that the dataset is big the method can locate the points in the array and then use the src.ReadAsArray(xoff, yoff, xwindow, ywindow) to read the values while the dataset is on desk.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
read_array
method can read the whole band, read a window usingtop_left_corner
and width and height, or a polygon geodataframe.extract
method extracts the values at the location of point geometry, theextract
now reads the entire dataset to extract the values and used array slicing to access the array, which is not efficient if the dataset is big.extract
method could be merged into theread_array
method where a new parameter can be addedpoints
and the values can be extracted using the same way in theextract
method now if the dataset is small, In case that the dataset is big the method can locate the points in the array and then use thesrc.ReadAsArray(xoff, yoff, xwindow, ywindow)
to read the values while the dataset is on desk.The text was updated successfully, but these errors were encountered: