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

Import vector layer #21

Closed
sl0burn opened this issue Sep 14, 2022 · 3 comments
Closed

Import vector layer #21

sl0burn opened this issue Sep 14, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@sl0burn
Copy link

sl0burn commented Sep 14, 2022

Is the import vector layer fully baked at the moment ?

It imports the file I have without errors but does not display anything. (The file then shows up in the layers).
My suspicion is that it is there but the lines are not visible.
File is from https://www.naturalearthdata.com/

ne_50m_land.zip

@qulle
Copy link
Owner

qulle commented Sep 14, 2022

Hi @sl0burn

Thanks for creating the issue.

The reason why the layer is not shown correctly is due to feature- and data-projection. I have set these to be the same value when parsing the geojson-data and that is causing the coordinates (data-projection) to be interpreted wrongly when the are drawn in the view (feature-projection).

This is a quick fix and i will include the change in an upcoming merge to main in a couple of days. #19

Soon there will be a bigger release (beta3) that you can test out.

@qulle qulle self-assigned this Sep 14, 2022
@qulle qulle added the bug Something isn't working label Sep 14, 2022
@qulle
Copy link
Owner

qulle commented Sep 15, 2022

@sl0burn

I have now merged some updates for the LayerManger and the Import-Vector-Layer-Tool. Have a look and see if it has solved you issue. https://qulle.github.io/oltb/

@sl0burn
Copy link
Author

sl0burn commented Sep 16, 2022

Yep it is showing correctly now.
Thanks.

@qulle qulle closed this as completed Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants