Skip to content

Offline ReadyMap elevation data not working with osgEarth 3.7.3 #2902

@keince

Description

@keince

osgEarth Version (required):
3.7.3 build 178

Description of the problem:
We have an offline dataset of ReadyMap tiles that we purchased for our group a while back. It works with our current version of osgEarth (3.1) but does not appear to be working with osgEarth 3.7.2 when it comes to elevation. The imagery is present but the elevation doesn't appear to work.

What you have tried:
Running the same dataset on osgEarth 3.1 and osgEarth 3.7.2. The latter works fine for using the online ReadyMap data but not the offline dataset. osgEarth 3.1 renders both imagery and elevation from the offline dataset.

Screenshot, code block, or data file that will help reproduce the issue:
Here is the output from the console when running with the offline dataset...

D:\osgearth_master\repo\tests>osgearth_viewer --window 40 40 1280 1024 readymap.earth
[osgearth info] Hello, world.
Fontconfig error: Cannot load default config file: No such file: (null)
[osgearth info] [Capabilities] osgEarth Version:  3.7.3 build 178
[osgearth info] [Capabilities] GDAL Version:      3.12.0
[osgearth info] [Capabilities] OSG Version:       3.6.5
[osgearth info] [Capabilities] OSG GL3 Features:  yes
[osgearth info] [Capabilities] OSG FFP Available: no
[osgearth info] [Capabilities] CPU Cores:         24
[osgearth info] [Capabilities] GL_VENDOR:         NVIDIA Corporation
[osgearth info] [Capabilities] GL_RENDERER:       NVIDIA RTX A4500/PCIe/SSE2
[osgearth info] [Capabilities] GL_VERSION:        3.3.0 NVIDIA 528.95
[osgearth info] [Capabilities] GL CORE Profile:   yes
[osgearth info] [Map] Map profile: [srs=WGS84, min=-180,-90 max=180,90 ar=2:1 vdatum=geodetic]
[osgearth info] [TMSImageLayer] "ReadyMap 15m Imagery" [srs=WGS84, min=-180,-90 max=180,90 ar=2:1 vdatum=geodetic] [no cache]
[osgearth info] [TMSImageLayer] "ReadyMap 90m Elevation" [srs=WGS84, min=-180,-90 max=180,90 ar=2:1 vdatum=geodetic] [no cache]
[osgearth info] [TMSElevationLayer] "ReadyMap 90m Elevation" vdatum = egm96 (was geodetic)
[osgearth info] [TMSElevationLayer] "ReadyMap 90m Elevation" [srs=WGS84, min=-180,-90 max=180,90 ar=2:1 vdatum=EGM96] [no cache]
[osgearth info] [engine_rex] Activated!

These are the changes made to readymap.earth for using the offline ReadyMap dataset...

<!--
osgEarth Sample - ReadyMap.ORG Server - https://readymap.org

ReadyMap.ORG provides free global base map data for osgEarth developers!
This tiled, worldwide dataset of imagery, elevation, and street map data
is a great base map that provides global context for your own local datasets.
It works "out of the box" with osgEarth applications.

**** NOTICE ****
YOU ARE RESPONSIBLE for abiding by the TERMS AND CONDITIONS outlined at:
https://readymap.org

-->
<map name="ReadyMap.org">

        <TMSImage name="ReadyMap 15m Imagery">
                <!--url>https://readymap.org/readymap/tiles/1.0.0/7/</url-->
                <url>X:/XCITE_Data/tiles/readymap_imagery/tms.xml</url>
        </TMSImage>

         <TMSElevation name="ReadyMap 90m Elevation">
                 <!--url>https://readymap.org/readymap/tiles/1.0.0/116/</url-->
                 <url>X:/XCITE_Data/tiles/readymap_elevation/tms.xml</url>
                 <vdatum>egm96</vdatum>
         </TMSElevation>

    <xi:include href="viewpoints.xml"/>
</map>

Metadata

Metadata

Assignees

Labels

supportSupport questions

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions