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

WKT2 parsing: several fixes related to map projection parameter units #2427

Merged
merged 1 commit into from
Nov 16, 2020

Conversation

rouault
Copy link
Member

@rouault rouault commented Nov 16, 2020

  • WKT2 grammar: accept PARAMETER[name,value,id] without unit
  • Recognize "Ellipsoid scaling factor" as a parameter with a scaling unit,
    and defaults to Unity when not specified
  • WKT2 parsing: implement the requirement of 18-010r7.html#80, that is
    when a map projection parameter has no explicit unit, use metre/degree/unity
    as the default unit (contrary to WKT1 parsing rules where they are deduced
    from the GeogCRS angular unit and coordinate system)

- WKT2 grammar: accept PARAMETER[name,value,id] without unit
- Recognize "Ellipsoid scaling factor" as a parameter with a scaling unit,
  and defaults to Unity when not specified
- WKT2 parsing: implement the requirement of 18-010r7.html#80, that is
  when a map projection parameter has no explicit unit, use metre/degree/unity
  as the default unit (contrary to WKT1 parsing rules where they are deduced
  from the GeogCRS angular unit and coordinate system)
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.

1 participant