Skip to content

Commit 4d56e88

Browse files
added gdal reference for the same utility
1 parent 9afb4c8 commit 4d56e88

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

how-to-guides/rasterio-point-example.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,14 @@
99
In this code you will :
1010
1111
- 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;
1313
1414
!!! info
1515
This specific example uses the collection **mrdem-30** from CCMEO's datacube
1616
1717
!!! 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
19+
2220
"""
2321
# --8<-- [start:code]
2422
import pystac_client

0 commit comments

Comments
 (0)