• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

OSGeo / PROJ / 2282
86%
master: 87%

Build:
Build:
LAST BUILD BRANCH: rouault-patch-3
DEFAULT BRANCH: master
Ran 25 Nov 2019 12:40PM UTC
Jobs 1
Files 226
Run time 27s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
2282

push

travis-ci-com

rouault
normalizeForVisualization() and other methods applying on a ProjectedCRS: do not mess the derivingConversion object of the original object (fixes #1736)

normalizeForVisualization(), promoteTo3D(), demoteTo2D(), alterGeodeticCRS(),
alterCSLinearUnit() and alterParametersLinearUnit() all used the object
returned by derivingConversionRef() to create a new ProjectedCRS. While doing
so, this caused the derivingConversion of the original object to have its
targetCRS set to the object returned by normalizeForVisualization() and similar.
If that object died, then the weak pointer would be reset, and the original
ProjectedCRS() has now its derivingConversionRef()->targetCRS() nullptr

So bottom line is use derivingConversion() for anything that is not pure
reading !!!

This is confirmed to be the fix for the QGIS scenario in
https://github.com/qgis/QGIS/issues/30569#issuecomment-540060919

In QGIS use case, the issue arised when using a projected CRS with a non-GIS
friendly axis (that is where normalizeForVisualization() created a new projectedCRS)

4 of 4 new or added lines in 1 file covered. (100.0%)

33030 of 38455 relevant lines covered (85.89%)

32251.61 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2282.1 (BUILD_NAME=linux_gcc DETAILS="linux, gcc") 25 Nov 2019 12:40PM UTC 0
85.89
Travis Job 2282.1
Source Files on build 2282
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #2282
  • bce4b158 on github
  • Prev Build on 6.2 (#2266)
  • Next Build on 6.2 (#2306)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc