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 is reported as deprecated EPSG:3785 instead of EPSG:3857 in metadata #3247

Closed
jdenisgiguere opened this issue May 29, 2020 · 3 comments
Labels

Comments

@jdenisgiguere
Copy link

Current situation

When I reproject a layer into a ZoomLayoutScheme using geotrellis.proj4.WebMercator as CRS, the json file of metadata of the resulting layer will contain this srs definition:

"crs":"+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 "

If I query the AttributeStore metadata for crs.epsgCode it will return: 3785.
EPSG:3785 is a deprecated code for Web Mercator.

In geotrellis.proj4.WebMercator, we explicitly expose epsgCode as 3857.

Expected situation

When looking at metadata.crs.epsgCode of a layer reprojected to geotrellis.proj4.WebMercator , I would expect the value to be 3857.

@pomadchin
Copy link
Member

pomadchin commented May 29, 2020

Hi @jdenisgiguere it is a proj4j bug: locationtech/proj4j#61
It is not a critical issue though.

Thanks for reporting!

@pomadchin pomadchin added the bug label May 29, 2020
@pomadchin
Copy link
Member

pomadchin commented Apr 8, 2021

Is addressed here: locationtech/proj4j#71
I'll close this issue once we'll upgrade GT up to the fresh proj4j release.

@pomadchin
Copy link
Member

pomadchin commented Jul 10, 2022

Closed via #3294

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

No branches or pull requests

2 participants