osgEarth
Search
everywhere
only in this topic
Advanced Search
Using GDAL 3 with spherical mercator
Classic
List
Threaded
♦
♦
Locked
2 messages
Andreas Roth
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
Using GDAL 3 with spherical mercator
Hi,
congrats on the release of osgEarth 3.1.
I haven't had the chance to test the new version, but i've read the release notes and found the hint about the spherical mercator with GDAL3. i tried to fix the spherical mercator in the following commit:
https://github.com/aroth-fastprotect/osgearth/commit/f815fdf5ac93715d5c153c8ad2b92e0ebef46695
Basically instead of using "+proj=merc" you need to use "+proj=webmerc". This results in GDAL to create a SRS with equal major and minor axis.
Keep up the good work!
Regards,
Andreas
gwaldron
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
Re: Using GDAL 3 with spherical mercator
Hi Andreas,
You're right. I was sure I tried this and it didn't work - but it does. I will get your fix into the 3.1 branch. Thanks!
Glenn Waldron / Pelican Mapping
Free forum by Nabble
Edit this page