Coordinate System/ Units restrictions #109
Replies: 3 comments 3 replies
-
Hi @JamesZDonline, Thanks for your feedback. It is possible that Deepness doesn't support some units at the moment. However, I expect it should be possible to add support for that. If you are interested, please provide example images and instructions on how to reproduce :) Cheers |
Beta Was this translation helpful? Give feedback.
-
Hi James, At the moment Deepness internal processing needs to convert between meters and raster layer units in order to know the resolution. Your orthophoto has degree units, and it causes the issue. After a quick research, I'm not sure if it is simple to convert between meters and degrees, as they are based on different projection systems. If you would like to investigate, here is the relevant code in our plugin:
I suspect it would be possible to implement it (and definitively good to have in the Deepness!), though we may not have time to do it now, so any help welcome! But I found a quite simple workaround - you just need to reproject your files:
Hope it helps! |
Beta Was this translation helpful? Give feedback.
-
Hi |
Beta Was this translation helpful? Give feedback.
-
First let me start by saying thank you for your great work on this tool. I'm extremely excited about it and can see how it can fit well into my existing workflows.
I was wondering about restrictions in the coordinate systems of the imagery . It appears the plugin assumes layer units are in meters. I tried running a model from the model zoo on some WGS84 (EPSG: 4326) imagery and it gave me the following error:
File "C:\Users/zimmejr1/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\deepness\processing\processing_utils.py", line 31, in convert_meters_to_rlayer_units raise Exception("Unsupported layer units") Exception: Unsupported layer units
Is there any way around this other than re-projecting imagery? It works as expected when I use a pseudomercator projection, but I have a lot of imagery and require EPSG 4326 for other parts of my workflow so I can't just re-project it all.
Beta Was this translation helpful? Give feedback.
All reactions