1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-23 22:35:25 +02:00

gdalwarp: add page (#8274)

This commit is contained in:
Jakob Miksch 2022-08-02 15:33:47 +02:00 committed by GitHub
parent 7de80f9684
commit 36da1e723f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

16
pages/common/gdalwarp.md Normal file
View file

@ -0,0 +1,16 @@
# gdalwarp
> Image reprojection and warping utility.
> More information: <https://gdal.org/programs/gdalwarp>.
- Reproject a raster dataset:
`gdalwarp -t_srs {{EPSG:4326}} {{path/to/input.tif}} {{path/to/output.tif}}`
- Crop a raster dataset by using specific coordinates:
`gdalwarp -te {{min_x}} {{min_y}} {{max_x}} {{max_y}} -te_srs {{EPSG:4326}} {{path/to/input.tif}} {{path/to/output.tif}}`
- Crop a raster dataset using a vector layer:
`gdalwarp -cutline {{path/to/area_to_cut.geojson}} -crop_to_cutline {{path/to/input.tif}} {{path/to/output.tif}}`