Giter VIP home page Giter VIP logo

Comments (11)

kaktus40 avatar kaktus40 commented on August 29, 2024

Hello what is the configuration of your layer in geoserver?

from cesium-geoserverterrainprovider.

vistacon21 avatar vistacon21 commented on August 29, 2024

Here is the response returned from the GetCapabilities web service API call. If it's more helpful, I can also attach screenshots of the geoserver tabs for the layer (dted0-tiles)
get-capabilities-response.txt

from cesium-geoserverterrainprovider.

kaktus40 avatar kaktus40 commented on August 29, 2024

From your capability document I understand that you don't use bil/DDS plugin for geoserver nor the style coming from this repository.
Is it the case?

from cesium-geoserverterrainprovider.

vistacon21 avatar vistacon21 commented on August 29, 2024

Yes, that is true. Should I be using both?

from cesium-geoserverterrainprovider.

kaktus40 avatar kaktus40 commented on August 29, 2024

You should use one or another. If none, you should convert your images
(see th in the nutshell in README.md)

from cesium-geoserverterrainprovider.

vistacon21 avatar vistacon21 commented on August 29, 2024

Thanks, would you recommend one approach vs another (i.e use BIL/DDS plugin)?

from cesium-geoserverterrainprovider.

kaktus40 avatar kaktus40 commented on August 29, 2024

I think the use of BIL/DDS plugin is the best.

from cesium-geoserverterrainprovider.

vistacon21 avatar vistacon21 commented on August 29, 2024

I will try that, thanks

from cesium-geoserverterrainprovider.

vistacon21 avatar vistacon21 commented on August 29, 2024

I downloaded the BIL/DDS plugin for the version of geoserver I’m running and installed the jar files.
After that, I was able to confirm that BIL and DDS are now available from the "All Formats" dropdown box on the Layer Preview screen. I also rebuilt the geoserver dted0 store and image pyramid.

When I look at the response from the GetCapabilities web service API call, now I see BIL and DDS referenced (see attachment)

While zooming in on the map, this is what the WMS API calls look like now to get the terrain data:

http://localhost:8084/geoserver/elevation/ows?SERVICE=WMS&REQUEST=GetMap&layers=dted0-tiles&version=1.3.0&bbox=-180.703125,-90.703125,-89.296875,0.703125&crs=CRS:84&srs=CRS:84&format=image/bil&width=65&height=65

I see requests being made for BIL image type, though still 65x65 tiles for some reason. The Developer Tools Network Response tab looks like this:


Name: ows
Dimensions: 0 × 0
MIME Type: image/bil

I looked at the geoserver logs and I can see the requests are being logged with no errors. Could there be a layer config issue I have that’s causing the terrain to not render properly?

get-capabilities-with-bil-dds.txt

from cesium-geoserverterrainprovider.

kaktus40 avatar kaktus40 commented on August 29, 2024

you have to configure your layer in geoserver to provide bil/DDS data
https://docs.geoserver.org/stable/en/user/community/dds/index.html

from cesium-geoserverterrainprovider.

vistacon21 avatar vistacon21 commented on August 29, 2024

Thanks for your support on this issue. Once I installed the BIL/DDS plugin and configured the geoserver BIL format settings on the elevation layer Publishing tab, the terrain rendered as expected.

from cesium-geoserverterrainprovider.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.