[gdal-dev] Error while using osr.CoordinateTransformation (point outside of domain) with orthographic projection

2025-01-20 Thread afernandez via gdal-dev
Hello, While transforming point coordinates from lat/lon to a specified projection, I keep running into errors while trying to use some projections. The line generating the error reads: transform = osr.CoordinateTransformation(srs_in, srs_out) For example, when defining "+proj=webmerc +datum=WGS84

[gdal-dev] Issue with Robinson projection

2025-01-13 Thread afernandez via gdal-dev
Hello, The following snippet works fine # epsg = 54030 epsg = 4326 srs = osr.SpatialReference() srs.ImportFromEPSG(epsg) However, and when I switch epsg to 54030 (which I believe it's the value for the Robinson projection), it generates the error: File "/usr/lib/python3/dist-packages/osgeo/osr.py"

Re: [gdal-dev] Running into GDAL ERROR 1

2024-02-05 Thread afernandez via gdal-dev
Please disregard this thread as the error is caused by dx and dy are equal to zero (still need to check why the coordinates are resulting in these values). afernandez via gdal-dev wrote: Hello, I've upgraded QGIS from v3.30 to v3.34. However, and when plotting the same raster layer, it i

[gdal-dev] Please disregard my previous email (dx and dy are zeros)

2024-02-05 Thread afernandez via gdal-dev
Hello, Please disregard my previous email (dx and dy are zeros). I apologize for sending it in a rush as it clearly is bound to fail when dx & dy =0. Sorry about it. ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listi

[gdal-dev] Running into GDAL ERROR 1

2024-02-05 Thread afernandez via gdal-dev
Hello, I've upgraded QGIS from v3.30 to v3.34. However, and when plotting the same raster layer, it is now generating the error: GDAL ERROR 1: Cannot invert geotransform The geotransform value is (0.0, -3.88...e-11, 0, -6.402...e-10, 0, -0.0). QGIS is listing the GDAL version as 3.4.1, which is al