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

Wrong behavior in InitMapCRS if defaultCRSPreference is set #351

Closed
fgdrf opened this issue Aug 8, 2019 · 0 comments
Closed

Wrong behavior in InitMapCRS if defaultCRSPreference is set #351

fgdrf opened this issue Aug 8, 2019 · 0 comments

Comments

@fgdrf
Copy link
Contributor

fgdrf commented Aug 8, 2019

Implementation in InitMapCRS has wrong behavior. If a product is configured using e.g. Pseudo-Mercator with:
org.locationtech.udig.project/defaultCRSPreference=3857

the first added layer changes ViewportModel CRS to its given (different) CRS (e.g. EPSG:4326)

Expected behavior: Whenever a different default is configured and EPSG code is fine, the ViewportModel CRS should be unchanged whenever a layer is added to the map.

see second part of if-statement:

fgdrf added a commit to fgdrf/udig-platform that referenced this issue Aug 8, 2019
if defaultCRSPreference is set

Signed-off-by: Frank Gasdorf <fgdrf@users.sourceforge.net>
fgdrf added a commit to fgdrf/udig-platform that referenced this issue Aug 22, 2019
if defaultCRSPreference is set

Signed-off-by: Frank Gasdorf <fgdrf@users.sourceforge.net>
fgdrf added a commit to fgdrf/udig-platform that referenced this issue Aug 22, 2019
if defaultCRSPreference is set

Signed-off-by: Frank Gasdorf <fgdrf@users.sourceforge.net>
fgdrf added a commit that referenced this issue Sep 9, 2019
if defaultCRSPreference is set

Signed-off-by: Frank Gasdorf <fgdrf@users.sourceforge.net>
@fgdrf fgdrf closed this as completed Sep 9, 2019
fgdrf added a commit to fgdrf/udig-platform that referenced this issue Dec 23, 2019
if defaultCRSPreference is set

Signed-off-by: Frank Gasdorf <fgdrf@users.sourceforge.net>
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

No branches or pull requests

1 participant