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

'Points to Geojson' not reading images without coordinate system #35

Open
eseigeldanf opened this issue Feb 7, 2025 · 2 comments
Open
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@eseigeldanf
Copy link

If your image doesn't have a coordinate system, rasterio can't read it and will spit out an error similar to "AtrributeEerror: ‘NoneType’ object has no attribute ‘to_authority". This is the only option in the 'points_to_geojson' tutorial, and the only fix Haley's been able to figure out to get around this error is to go into QGIS instead.

@eseigeldanf eseigeldanf added bug Something isn't working documentation Improvements or additions to documentation labels Feb 7, 2025
@k034b363
Copy link
Contributor

k034b363 commented Feb 7, 2025

Just commenting here so I don't forget: I think the solution is just going to be adding an if statement to check if the crs is not None and then if it is just setting it to None for the new geojson.

@HaleySchuhl
Copy link
Contributor

Same logic needs to be applied within analyze.coverage and I'll add it now to analyze.spectral

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

4 participants