Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The providers stops querying for tiles #11

Closed
aleksandrmelnyk opened this issue Dec 15, 2015 · 10 comments
Closed

The providers stops querying for tiles #11

aleksandrmelnyk opened this issue Dec 15, 2015 · 10 comments

Comments

@aleksandrmelnyk
Copy link

Am trying to use this provider with cesium 1.15.
Initially it queries capabilities ok, and also some tiles are fetched ok (see attached), but then just stops and terrain on map not updated at all.

Here is how I use it:

 var terrainProvider = new Cesium.GeoserverTerrainProvider({
                url : globals.geoserverUrl+"/elevation/wms",
                proxy : {
                    getURL: function(url){
                        return gisextGlobals.geoserverUrl+url.substr(url.indexOf('/elevation'));
                    }
                },
                layerName: "lidar_dem_full_rescaled"
            });

Any ideas what could it be?

thanks in advance.

selection_068

@aleksandrmelnyk
Copy link
Author

Actually also getting this one:
WebGL: INVALID_OPERATION: texImage2D: ArrayBufferView not big enough for request with UNPACK_ALIGNMENT > 1

@kaktus40
Copy link
Owner

Hello, could you send me your capabilities document please

@Parthesh
Copy link

I too have the same problem i.e. I get the same WebGL warning in the console.. But in my case the terrain gets upgraded, but some black patches are appearing variably on the globe. I have used SRTM 1km dem with parameters for gdal_retile as follows:
-r : bilinear
-ot : Int16
-levels : 6
-ps : 1024 1024

-- I have attached the capabilities documents (geoserver version 2.8.0, WMS version 1.1.1 and 1.3.0).
-- Also I have attached the snapshot of the issue.

webgl_issue
getcapabilities_1.1.1.txt
getcapabilities_1.3.0.txt

@aleksandrmelnyk
Copy link
Author

Here is the caps also
ows.txt

@kaktus40
Copy link
Owner

Hello,
@mamayoleksandr , I don't see image/bil as a declared format in your capabilities document. You should first install bil/dds plugin. Maybe you translated your dem data with the java tool included in this repo? The geoserverterrainProvider try to parse from capabilities document which data to retrieve (first bil format and after png format). When it use png or jpeg format, it's suppose the images are translated unless there is a SLD style used.

@Parthesh and @mamayoleksandr I can't reproduct your issue with webGL:
Which version of Cesium do you use?

@kaktus40
Copy link
Owner

It seems the webGL issue comes with waterMask initiates at true

@Parthesh
Copy link

I am getting this problem on Cesium 1.6, 1.13 and 1.16 as well. And even if I put waterMask value as 'false' it is the same.

@Parthesh
Copy link

Parthesh commented Jan 8, 2016

Got the solution... Just used older version of geoserver i.e. Geoserver 2.7.5. Anyway, thanks for the support. It seems 2.8.0 is not properly supporting GTP.

@kaktus40
Copy link
Owner

kaktus40 commented Jan 8, 2016

Ok I work with geoserver 2.7.2.
I'll test the with geoserver 2.8.1

@kaktus40
Copy link
Owner

Hello,
I test with geoserver 2.8.1 and latest version of cesium and it seems ok. Is it the same for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants