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

Pham Huu Bang a09550 at gmail.com
Wed Nov 25 01:17:47 PST 2020


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 test1.tif
ERROR 1: latitude or longitude exceeded limits
ERROR 1: Too many points (441 out of 441) failed to transform,
unable to compute output bounds.

 gdalinfo test.tif
Driver: GTiff/GeoTIFF
Files: test.tif
Size is 100, 100
Coordinate System is:
PROJCS["ETRS89 / UTM zone 32N",
    GEOGCS["ETRS89",
        DATUM["European_Terrestrial_Reference_System_1989",
            SPHEROID["GRS 1980",6378137,298.2572221010002,
                AUTHORITY["EPSG","7019"]],
            AUTHORITY["EPSG","6258"]],
        PRIMEM["Greenwich",0],
        UNIT["degree",0.0174532925199433],
        AUTHORITY["EPSG","4258"]],
    PROJECTION["Transverse_Mercator"],
    PARAMETER["latitude_of_origin",0],
    PARAMETER["central_meridian",9],
    PARAMETER["scale_factor",0.9996],
    PARAMETER["false_easting",500000],
    PARAMETER["false_northing",0],
    UNIT["metre",1,
        AUTHORITY["EPSG","9001"]],
    AUTHORITY["EPSG","25832"]]
Origin = (32573000.000000000000000,6019990.000000000000000)
Pixel Size = (10.000000000000000,-10.000000000000000)
Metadata:
  AREA_OR_POINT=Area
Image Structure Metadata:
  INTERLEAVE=BAND
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 (32574000.000, 6018990.000) ( 43d35'46.10"W,Invalid angle)
Center      (32573500.000, 6019490.000) (102d39' 0.67"W,Invalid angle)
Band 1 Block=100x20 Type=Float32, ColorInterp=Gray
  NoData Value=-9999
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20201125/12ed561f/attachment.html>


More information about the gdal-dev mailing list