Giter VIP home page Giter VIP logo

Comments (6)

kaktus40 avatar kaktus40 commented on July 25, 2024

Hello,
You have a very very big image. If you have installed gdal, could you
send me the return of this command:
gdalinfo /yourDEM//./
I fear you'll have to cut your image and make a folder with more
manageable images.

For your information a pixel needs 4_8 bits=32 bits to be stored in
memory. If the resolution of your image is 3000 X 3000 ,you'll need at
least 3000_3000 *32=275 Mo. For the good work of java, it's around 300
Mo. Also GeotiffTranslate works on two images, the first is the old
image and the second the new so finally you'll need 600 Mo of memory to
work with an image of 3000 X 3000 pixels...

On 28/04/2015 20:47, Akimh wrote:

Hello,
I tried to use your GeotiffTranslate app, but I got an
OutOfMemoryError (java heap space). I encreased the heap space to 2048
MB but I got the same error. My Ifsar-DEM has a size of 350 Mb.

Java version 8 (32 bit) on a win 7 64 bit machine.
See screenshot.
oomerror
https://cloud.githubusercontent.com/assets/12158315/7377552/9193675c-ed93-11e4-98b7-07becbccdbf6.JPG.
Thank you.

β€”
Reply to this email directly or view it on GitHub
#8.

from cesium-geoserverterrainprovider.

Akimh avatar Akimh commented on July 25, 2024

Hello,
thank you for your quick reply.
Screenshot of the result of the gdalinfo:

gdalinfo_dem

As you mentioned, I used a smaller part of my image and it worked perfect.
Thank you very much.

from cesium-geoserverterrainprovider.

kaktus40 avatar kaktus40 commented on July 25, 2024

It's really a big size => you must cut the size of your original tif!!

On 29/04/2015 20:34, Akimh wrote:

Hello,
thank you for your quick reply.
Screenshot of the result of the gdalinfo:

gdalinfo_dem
https://cloud.githubusercontent.com/assets/12158315/7398394/329ee3de-ee5b-11e4-8045-9830864acd19.JPG

β€”
Reply to this email directly or view it on GitHub
#8 (comment).

from cesium-geoserverterrainprovider.

Akimh avatar Akimh commented on July 25, 2024

Thank you for your support and I have another question.
When I try to load the elevation data into a Cesium scene, I got a black view.
black view

My Code :

var ol3d = new olcs.OLCesium({map: map});
var scene = ol3d.getCesiumScene();

    var terrainProvider = new Cesium.GeoserverTerrainProvider({            
    url : "http://localhost:8080/geoserver/Denali/wms",
    layerName: 'Denali:Denali_IfsarDEM_Cut',
        styleName:"raster",            
        waterMask: false        
});        
scene.terrainProvider = terrainProvider;
ol3d.setEnabled(false);

from cesium-geoserverterrainprovider.

kaktus40 avatar kaktus40 commented on July 25, 2024

Sorry, I can't help you about open-layer Cesium library. Did you test
your terrain in a classical Cesium?

On 01/05/2015 22:39, Akimh wrote:

Thank you for your support and I have another question.
When I try to load the elevation data into a Cesium scene, I got a
black view.
black view
https://cloud.githubusercontent.com/assets/12158315/7436902/904ab0ae-effe-11e4-955e-6664a079c300.JPG

My Code :

var ol3d = new olcs.OLCesium({map: map});
var scene = ol3d.getCesiumScene();

| var terrainProvider = new Cesium.GeoserverTerrainProvider({
url : "http://localhost:8080/geoserver/Denali/wms",
layerName: 'Denali:Denali_IfsarDEM_Cut',
styleName:"raster",
waterMask: false
});
scene.terrainProvider = terrainProvider;
ol3d.setEnabled(false);
|

β€”
Reply to this email directly or view it on GitHub
#8 (comment).

from cesium-geoserverterrainprovider.

Akimh avatar Akimh commented on July 25, 2024

I will give it a try. Thank you.

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.