Forum

Author Topic: Metashape EPSG:3857 not recognized by gdal2tiles  (Read 1716 times)

EE

  • Newbie
  • *
  • Posts: 26
    • View Profile
Metashape EPSG:3857 not recognized by gdal2tiles
« on: February 17, 2022, 04:01:19 PM »
Dear,

When trying to tile a raster exported by Metashape in EPSG::3857 (WGS 84 / Pseudo-Mercator), gdal2tiles (https://gdal.org/programs/gdal2tiles.html) errors because of the included CRS information is unexpected.

ERROR 6: Cannot find coordinate operations from `ENGCRS["WGS 84 / Pseudo-Mercator",EDATUM[""],CS[Cartesian,2],AXIS["easting",east,ORDER[1],LENGTHUNIT["metre",1]],AXIS["northing",north,ORDER[2],LENGTHUNIT["metre",1]],ID["EPSG",3857]]' to `EPSG:3857'

Do you have any idea why the CRS info in the metashape tif is not read as EPSG:3857 (https://epsg.io/3857) but as a ENGCRS which seems weird?

Thank you in advance
Feel free to let me know if this is a gdal issue


Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: Metashape EPSG:3857 not recognized by gdal2tiles
« Reply #1 on: February 18, 2022, 11:14:48 AM »
Hello EE,

Do you perform the export via Metashape GUI or using the script? Or any of these approaches rises the similar problem with gdal?
Best regards,
Alexey Pasumansky,
Agisoft LLC

EE

  • Newbie
  • *
  • Posts: 26
    • View Profile
Re: Metashape EPSG:3857 not recognized by gdal2tiles
« Reply #2 on: February 18, 2022, 11:17:21 AM »
Dear Alexey,

I noticed the issue when exporting from a script, but I also tried it through the GUI and it gives the same problem.
I also tried adding the EPSG:3857 WKT as prj file and adding it to Metashape, same result.

Thank you for your answer

Evert