coolzhao / Geo-SAM

A QGIS plugin tool using Segment Anything Model (SAM) to accelerate segmenting or delineating landforms in geospatial raster images.
MIT License
241 stars 37 forks source link

No function with different CRS in one project #50

Open Segmentoholic opened 1 month ago

Segmentoholic commented 1 month ago

Hello,

I have a problem bringing Geo-SAM into work when using several TIFs with different CRS. On one TIF it's working fine, on the other with different CRS not.

steps to reproduce:

Thank you for your help in advance!

Fanchengyan commented 1 month ago

GeoSAM will use the CRS of the first feature as the shapefile's CRS. There may be issues with the conversion between these two CRSs. Try creating a new shapefile for the second area separately to see if the issue persists.

Segmentoholic commented 1 month ago

Hello @Fanchengyan, thank you for your fast reply.

Unfortunately, the issue persists then.

But interesting to know that first feature's CRS will be used by Geo-SAM. Then I can simply create two new projects when working with different CRSs.