Skip to content
forked from OSGeo/PROJ
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

Add support for Degree Sign on input (#2791) #45

Merged
merged 1 commit into from
Aug 15, 2021
Merged

Conversation

sthagen
Copy link
Owner

@sthagen sthagen commented Aug 15, 2021

This commit adds support in dsmtor() for a Degree Sign (U+00B0), encoded
as UTF-8 (\xc2\xb0) or as a single byte (\xb0) (in ISO 8859 parts 1-4, 7-10,
13, 15, 16, and several Windows code pages), as an alternative symbol to
D/d to designate the degree unit.

Fixes OSGeo#2712.

  • Closes #xxxx
  • Tests added
  • Added clear title that can be used to generate release notes
  • Fully documented, including updating docs/source/*.rst for new API

This commit adds support in dsmtor() for a Degree Sign (U+00B0), encoded
as UTF-8 (`\xc2\xb0`) or as a single byte (`\xb0`) (in ISO 8859 parts 1-4, 7-10,
13, 15, 16, and several Windows code pages), as an alternative symbol to
`D`/`d` to designate the degree unit.

Fixes #2712.
@sthagen sthagen merged commit 8b2b83e into sthagen:master Aug 15, 2021
@coveralls
Copy link

Pull Request Test Coverage Report for Build 1132635259

  • 15 of 17 (88.24%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.0002%) to 86.552%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/dmstor.cpp 15 17 88.24%
Totals Coverage Status
Change from base Build 1130140420: 0.0002%
Covered Lines: 42653
Relevant Lines: 49280

💛 - Coveralls

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.

Be ready for U+00B0 DEGREE SIGN "°" on input
3 participants