Re: [gdal-dev] gdalwarp from EPSG:25832 to EPSG:4326 with error latitude or longitude exceeded limits?

2020-11-25 Thread Pham Huu Bang
Thank to Jukka, so the problem was with my gdal 1.11.4 on Centos 7. When I translated it to EPSG:4647, it doesn't contain proper WKT for EPSG, e.g: Coordinate System is: LOCAL_CS["ETRS89 / UTM zone 32N (zE-N)", GEOGCS["ETRS89", DATUM["unknown", SPHEROID["unretrievable - us

Re: [gdal-dev] gdalwarp from EPSG:25832 to EPSG:4326 with error latitude or longitude exceeded limits?

2020-11-25 Thread jratike80
Hi again, Sorry, I did not read properly what you did. That should work and it does work for me with GDAL 3.2. I use a copy of your test.tif as "test_00.tif". gdal_translate -a_srs epsg:4647 test_00.tif test_000.tif Input file size is 100, 100 0...10...20...30...40...50...60...70...80...90...100

Re: [gdal-dev] gdalwarp from EPSG:25832 to EPSG:4326 with error latitude or longitude exceeded limits?

2020-11-25 Thread Tobias Wendorff
Am 25.11.2020 um 11:13 schrieb Pham Huu Bang: The tiff file you can download from https://files.fm/f/5ttjhyh9p The xyz file I already shared in the beginning: https://pastebin.com/40xSNqm4 Thanks. This really is EPSG:4647 and sho

Re: [gdal-dev] gdalwarp from EPSG:25832 to EPSG:4326 with error latitude or longitude exceeded limits?

2020-11-25 Thread jratike80
Hi, What you have wrong is the input coordinate system, not the output as you tested. Compare https://epsg.org/crs/wkt/id/25832 with https://epsg.org/crs/wkt/id/4647 and notice the difference in false easting. Now run gdalwarp right gdalwarp -s_srs epsg:4647 -t_srs epsg:4326 test_00.tif test_432

Re: [gdal-dev] gdalwarp from EPSG:25832 to EPSG:4326 with error latitude or longitude exceeded limits?

2020-11-25 Thread Pham Huu Bang
The tiff file you can download from https://files.fm/f/5ttjhyh9p The xyz file I already shared in the beginning: https://pastebin.com/40xSNqm4 Thanks, On Wed, 25 Nov 2020 at 11:10, Tobias Wendorff < tobias.wendo...@tu-dortmund.de> wrote: > Am 25.11.2020 um 11:00 schrieb Pham Huu Bang: > > ERROR

Re: [gdal-dev] gdalwarp from EPSG:25832 to EPSG:4326 with error latitude or longitude exceeded limits?

2020-11-25 Thread Tobias Wendorff
Am 25.11.2020 um 11:00 schrieb Pham Huu Bang: ERROR 1: No PROJ.4 translation for source SRS, coordinate transformation initialization has failed. Can you share your data? ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailm

Re: [gdal-dev] gdalwarp from EPSG:25832 to EPSG:4326 with error latitude or longitude exceeded limits?

2020-11-25 Thread Pham Huu Bang
Hi Tobias, If I set to EPSG:4647, I cannot warp it either: gdal_translate -a_srs EPSG:4647 test.tif test1.tif Input file size is 100, 100 0...10...20...30...40...50...60...70...80...90...100 - done. gdalinfo test1.tif Driver: GTiff/GeoTIFF Files: test1.tif Size is 100, 100 Coordinate System is:

Re: [gdal-dev] gdalwarp from EPSG:25832 to EPSG:4326 with error latitude or longitude exceeded limits?

2020-11-25 Thread Tobias Wendorff
Am 25.11.2020 um 10:17 schrieb Pham Huu Bang: Corner Coordinates: Upper Left  (32573000.000, 6019990.000) (174d17' 8.00"W,Invalid angle) Lower Left  (32573000.000, 6018990.000) (114d59' 0.99"W,Invalid angle) Upper Right (32574000.000, 6019990.000) (109d46'37.15"W,Invalid angle) Lower Right (32574

[gdal-dev] gdalwarp from EPSG:25832 to EPSG:4326 with error latitude or longitude exceeded limits?

2020-11-25 Thread Pham Huu Bang
Hello, I have a DGM 10m tiff file (translated from xyz file: e.g:dgm10_32572_6020_1_sh.xyz - example: https://pastebin.com/40xSNqm4) in EPSG:25832 CRS with this gdalinfo as below. I tried to warp it to EPSG:4326 but I got error. Do I miss something? Thanks, gdalwarp test.tif -t_srs EPSG:4326 t

[gdal-dev] gdalwarp from EPSG:25832 to EPSG:4326 with error latitude or longitude exceeded limits?

2020-11-25 Thread Bang Pham Huu
Hello, I have a DGM 10m tiff file (translated from xyz file: e.g: dgm10_32572_6020_1_sh.xyz - example: https://pastebin.com/40xSNqm4) in EPSG:25832 CRS with this gdalinfo as below. I tried to warp it to EPSG:4326 but I got error. Do I miss something? Thanks, gdalwarp test.tif -t_srs EPSG:4326