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

WebMercator EPSG code retrieved from proj4 parameters returns a legacy value #61

Closed
pomadchin opened this issue May 20, 2020 · 0 comments · Fixed by #71
Closed

WebMercator EPSG code retrieved from proj4 parameters returns a legacy value #61

pomadchin opened this issue May 20, 2020 · 0 comments · Fixed by #71
Labels

Comments

@pomadchin
Copy link
Member

The EPSG code of WebMercator projection created from the proj4 string returns a legacy value;
EPSG:3785 instead of EPSG:3857; to reproduce the behavior use the following code:

crsFactory
  .readEpsgFromParameters("+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant