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

Get projections parameters from server #2

Open
monodo opened this issue Aug 5, 2014 · 1 comment
Open

Get projections parameters from server #2

monodo opened this issue Aug 5, 2014 · 1 comment

Comments

@monodo
Copy link
Contributor

monodo commented Aug 5, 2014

Minor issue: prjdefs.js loads a lot of information that will, most of the time, not be used. Maybe we should better get it from server.

@mparkan
Copy link
Owner

mparkan commented Aug 5, 2014

It could possibly be obtained from http://spatialreference.org/ as well. For example, the proj4 string for epsg:21781 can be obtained with the following url:

http://spatialreference.org/ref/epsg/21781/proj4/

However, the proj4 definition does not include the title of the projection, so using the OGC WKT definition instead is probably the way to go:

http://spatialreference.org/ref/epsg/21781/ogcwkt/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants