Question about osgearth_elevation

classic Classic list List threaded Threaded
6 messages Options
marcoma9023 marcoma9023
Reply | Threaded
Open this post in threaded view
|

Question about osgearth_elevation

Hi,

After launched the example osgearth_elevation, I see that in relation of the two layers that are loaded in the map:

- Image Layer:

TMSOptions imagery;
        imagery.url() = "http://readymap.org/readymap/tiles/1.0.0/22/";
        map->addLayer(new ImageLayer("ReadyMap imagery", imagery));
- Elevation Layer:

TMSOptions elevation;
        elevation.url() = "http://readymap.org/readymap/tiles/1.0.0/116/";
        map->addLayer(new ElevationLayer("ReadyMap elevation", elevation));

Only the Image layer is loaded.
With Wireshark I looked that my computer send request and receive the GET from the server, like in photo:



Someone can help me?
gwaldron gwaldron
Reply | Threaded
Open this post in threaded view
|

Re: Question about osgearth_elevation

Did you build OpenSceneGraph with the TIFF plugin?
Glenn Waldron / Pelican Mapping
marcoma9023 marcoma9023
Reply | Threaded
Open this post in threaded view
|

Re: Question about osgearth_elevation

Yes, of course.

But, I noticed that, with Wireskark, if I open the full request related to the ImageLayer, I can see the preview like in the image:

Instead, for the ElavationLayer, the request seems similar,


but, I cant's see the preview image, the .tif it's downloaded.

Is it the normal behaviour?
gwaldron gwaldron
Reply | Threaded
Open this post in threaded view
|

Re: Question about osgearth_elevation

The elevation GeoTIFF is a one-channel 16-bit image. Not surprising that it won't preview.

Is the elevation data not showing up in osgEarth?
Glenn Waldron / Pelican Mapping
marcoma9023 marcoma9023
Reply | Threaded
Open this post in threaded view
|

Re: Question about osgearth_elevation

No, starting the example I have no elevation data ..
gwaldron gwaldron
Reply | Threaded
Open this post in threaded view
|

Re: Question about osgearth_elevation

What version of osgEarth are you using? Which earth file? Are there any console warnings?
Glenn Waldron / Pelican Mapping