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
Copy file name to clipboardExpand all lines: how-to-guides/rasterio-point-example.py
+3-5Lines changed: 3 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -9,16 +9,14 @@
9
9
In this code you will :
10
10
11
11
- Query a STAC API with pystac-client;
12
-
- Read values of remote COG based on coordinates with the sample functionality;
12
+
- Read values of remote COG based on coordinates with the [sample()](https://rasterio.readthedocs.io/en/stable/api/rasterio.io.html#rasterio.io.DatasetReader.sample) functionality;
13
13
14
14
!!! info
15
15
This specific example uses the collection **mrdem-30** from CCMEO's datacube
16
16
17
17
!!! Tip
18
-
The pixel value closest to the coordinate will be return by the sample() function.
19
-
No interpolation is performed
20
-
21
-
API definition: <https://rasterio.readthedocs.io/en/stable/api/rasterio.io.html#rasterio.io.DatasetReader.sample>
18
+
To perform the same request using gdal, refere to the [gdallocationinfo](https://gdal.org/en/stable/programs/gdallocationinfo.html) utility
0 commit comments