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

geometry coordinates should be in EPSG:4326 #15

Closed
iosefa opened this issue Jan 12, 2021 · 0 comments · Fixed by #16
Closed

geometry coordinates should be in EPSG:4326 #15

iosefa opened this issue Jan 12, 2021 · 0 comments · Fixed by #16
Assignees

Comments

@iosefa
Copy link
Collaborator

iosefa commented Jan 12, 2021

Problem
vuelayers will only play with EPSG:3857 or EPSG:4326 out of the box. The current is 2447.

Improvement
Transform the response to EPSG:4326.

Alternatives
We could also transform the response to EPSG:3857 and since this is often used for web maps. However, it is likely that transforming data to 4326 will be added to the django-rest-frameworkgis package: openwisp/django-rest-framework-gis#188 and so will eventually be usable out of the box. Thus if we make it 4326 we can then remove this fix once the package is updated.

@iosefa iosefa self-assigned this Jan 12, 2021
@iosefa iosefa changed the title geometry coordinates should be in EPSG:3857 geometry coordinates should be in EPSG:4326 Jan 12, 2021
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

Successfully merging a pull request may close this issue.

1 participant