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

fix(wms) : assign axis order param from source #2465

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

airnez
Copy link
Contributor

@airnez airnez commented Nov 18, 2024

Description

WMSSource was'nt taking the axisOrder parameter into account when provided.

Motivation and Context

Consistency: This parameter was advertised in documentation while not being used afterwards.

Copy link
Contributor

@Desplandis Desplandis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix! It was indeed documented and missing...

I have however a few comments with our current implementation in iTowns. Reading geoserver's notes on the WMS specification, it seems that

  • The WMS 1.1 always uses east/north axis ordering.

    Shall we for WMS $<1.3.0$ queries default to wsen for all CRS (instead of just EPSG:4326)?

  • The WMS 1.3.0 specification mandates using the axis ordering as defined in the EPSG database.

    It would be nice again to not just handle the EPSG:4326 projection, and maybe use the projection definition from proj4 to determine the axis ordering +axis. This could be a nice addition to the CRS module.

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 this pull request may close these issues.

2 participants