Timeline for Use GDAL to extract a part of an raster image
Current License: CC BY-SA 4.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 5 at 9:05 | comment | added | pcace | Hi @nmtoken i know this explicit wms supports more, but i need a solution for not only this berlin wms. | |
Sep 5 at 9:04 | comment | added | nmtoken | I know this is just an example, but in this case why not just request the image as a tiff in epsg:4326 using the BBOX you need. GetCapabilities response shows epsg:4326 and tiff are supported gdi.berlin.de/services/wms/… | |
Sep 5 at 9:00 | history | edited | nmtoken | CC BY-SA 4.0 |
formatting, corrected request syntax
|
Sep 3 at 15:50 | comment | added | user30184 | A few comments: 1) You have downloaded image from WMS with parameters &crs=EPSG:25833 and bbox=.... It would make much more sense to use those for georeferencing the image than EPSG:4326 bounding box. 2) As documented, srcwin is based on pixel/line location. You do not want to use that. You need to use -projwin and tell with -projwin_srs in which coordinate system the -projwin is. But with the values that you use you seem to select the whole image because they are the same than those that you used in &bbox= for fetching the image from WMS. | |
Sep 3 at 15:19 | comment | added | pcace | Hi, thanks for the reply. i updated the question with the progres i have made | |
Sep 3 at 15:18 | history | edited | pcace | CC BY-SA 4.0 |
updated question
|
Sep 3 at 13:17 | comment | added | user30184 | I suggest reading gdal.org/en/latest/programs/gdal_translate.html and gdal.org/en/latest/programs/gdalwarp.html first. Consider if projwin is good to your, or perhaps cutline. Practise with gdal_translate and/or gdalwarp. When you know what you want all the same is possible to do also with programming with Python or some other language. | |
Sep 3 at 13:06 | history | edited | nmtoken | CC BY-SA 4.0 |
formatting
|
Sep 3 at 12:55 | history | asked | pcace | CC BY-SA 4.0 |