-
Notifications
You must be signed in to change notification settings - Fork 20
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
Uploading WKT with data outside of it's projection should show user error, not crash. #93
Comments
@michaelkirk Can you try this again with your WKT file? |
Still not working for me - I get the same behavior as before, dumping the same log message as before. |
Contents of my WKT file:
|
It works with this simplified WKT file: Since I can't pick my projection, I suppose rgis must be guessing some projection for my data - is that right? Maybe the issue is related to the data in my first file not being valid for the guessed projection - e.g. it has values greater than 180, which might be problematic if you're assuming lon/lat coordinates. |
Yeah it's assuming the source is EPSG:4326 for everything unfortunately rgis/rgis-ui/src/add_layer_window.rs Line 184 in 9dc1d13
|
edit: This only seems to occurs when the uploaded data is invalid for the assumed projection.
The app becomes unresponsive after trying to load a WKT layer from file.
wkt-save-hangs.mov.mp4
The actual crash seems to be:
With the full log:
The text was updated successfully, but these errors were encountered: