Giter VIP home page Giter VIP logo

Comments (3)

kaktus40 avatar kaktus40 commented on June 27, 2024

Hello,
The main questions are:

  • what is the precision of the data in elevation (generally it's 1 meter) ? => the answer defines the precision of gray (int16, int32, int8, int24) needed and also the number format (int, float).
  • What is the organization of your data: Your int24 is he really a band of int on 3 bytes or is it 3 bands of one byte colors? How can you convert your data to elevation? => define the function to use for conversion . See here or here

from cesium-geoserverterrainprovider.

KnowAndPerform avatar KnowAndPerform commented on June 27, 2024

Hello,
Thanks for your responses,I have some questions:

  1. If the precision of my elevation data is 1 meter, do I need int8 gray (the number of bits per pixel is 8)? Else if 0.3 meter, I need int32 and the number format is float? But what is the precision of the data in elevation, I need int16 or int 24?

  2. My int24 may be 3 bands of one byte colors.
    image

  3. I need define the function to convert int24 to int16 and then use your java code to convert int16 to int8? Or by modifying your code, directly convert int24 to int8?(Where do I need to modify?)

Looking forward to your reply, thank you!

from cesium-geoserverterrainprovider.

kaktus40 avatar kaktus40 commented on June 27, 2024

If your data have a precision of 0.3 meter, I suggest to convert your geotiff band to float32 gray.

If you have access to geoserver, you just need to install the bil/dds plugin and your geoserver will gain the capability to interpret directly the float32 gray band with gdal! Just follow my comment in the previous link

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.