Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TagLab crashes when using the maps alignment tool #132

Open
Carol-Symbiomics opened this issue Mar 5, 2024 · 0 comments
Open

TagLab crashes when using the maps alignment tool #132

Carol-Symbiomics opened this issue Mar 5, 2024 · 0 comments

Comments

@Carol-Symbiomics
Copy link

Hi Max!

I was trying to use the aligining tool but taglab crashed a few minutes after confirming the alignment.

I was wondering if you could perhaps give me a hand in figuring out what is happening. Do the orthoimages have to be georeference for the alignment tool to work? These were the last lines on the command prompt:

C:\Users\96655\OneDrive\Desktop\Carol_Buitrago\Conda_environments\env38\lib\site-packages\rasterio\__init__.py:226: NotGeoreferencedWarning: Dataset has no geotransform set. The identity matrix may be returned.
  s = DatasetReader(path, driver=driver, sharing=sharing, **kwargs)
[ WARN:[email protected]] global grfmt_tiff.cpp:716 cv::TiffDecoder::readData OpenCV TIFF: TIFFRGBAImageOK: Sorry, can not handle images with 32-bit samples
Traceback (most recent call last):
  File "C:\Users\96655\OneDrive\Desktop\Carol_Buitrago\TagLab-main\source\QtAlignmentToolWidget.py", line 1715, in onConfirmAlignment
    newFilename, w, h = self.__updateChannel(ch, tag2, -rot, T, [leftB, rightB, topB, bottomB])
  File "C:\Users\96655\OneDrive\Desktop\Carol_Buitrago\TagLab-main\source\QtAlignmentToolWidget.py", line 1860, in __updateChannel
    (h, w, c) = img.shape
AttributeError: 'NoneType' object has no attribute 'shape''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant