Hi.
>
> >
> > I am using geoserver 2.10. Two geotiff files were converted with gdal to
> the
> > imagePyramid format.
>
> Can you elaborate a bit on this? What did you do?
>
>
I followed the instructions from
http://docs.geoserver.org/stable/en/user/tutorials/imagepyramid/imagepyramid.html
to create image pyramids for two files.
shaded_dem.tif is a UINT16 GeoTIFF.
dem.tif is a Float64 GeoTiff.
I used this command to create the shaded dem: gdal_retile.py -v -ot UInt16
-levels 6 -ps 1024 1024 -co "TILED=YES" -targetDir shaded_dem shaded_dem.tif
I used this command to create the DEM: gdal_retile.py -v -levels 6 -ps 1024
1024 -co "TILED=YES" -targetDir dem dem.tif
> The imagePyramid that is an unsigned int 16 (shaded DEM) wont display in
> > arcmap or QGIS with PNG requests. If the image format is changed to JPG,
> > then the image displays just fine. The imagePyramid displays fine with
> the
> > open layers preview.
> >
>
> Can you elaborate more on what error you are seeing? Can you paste a
> portion of the geoserver log that says what error you are getting?
> You might also want to provide some sample data...
>
>
When I drag/drop the WMS layer into ArcMap (similar in QGIS), I get this
error "One or more layers failed to draw:
WMS: WMS service exceptions:Service Error Description:
java.lang.NullPointerException"
The partial geoserver log entry for this is:
RawKvp = {CRS=CRS:84, FORMAT=image/png, BGCOLOR=0xFEFFFF, STYLES=,
WIDTH=776, HEIGHT=415, LAYERS=pioneer:shaded_dem_6_1024, EXCEPTIONS=XML,
REQUEST=GetMap,
BBOX=-82.065297930622009,27.37354735085324,-81.833941893673838,27.497431973257143,
VERSION=1.3.0, SERVICE=WMS, TRANSPARENT=TRUE}
BaseUrl = http://mapping.ectinc.com:8080/geoserver/
RequestCharset = UTF-8
2016-11-09 10:44:58,361 ERROR [geoserver.ows] -
java.lang.NullPointerException
If I then go into ArcMap and change the image type of the WMS to "JPG" from
"PNG", the image renders correctly. In QGIS, when I load the WMS layer with
PNG, it does not display (but I can click on it to get values). When I load
the layer in QGIS using JPG, it renders properly.
I am not sure what is different between the two images other than their
data type. One is floating64 and the other is UINT16.
Thanks
Mark
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users