Hi Nicola,
I downloaded the latest stable release GeoServer-2.4.5 and tried again and got the same error. The server OS is Unbuntu 12.0.4, not sure if it matters. This time, instead of sending the request from my client, I constructed the URL and sent it from the browser. Below is my GetMap requests and their outputs:
WMS version 1.3.0 request:
http://172.16.203.30:8080/geoserver/geotiff/ows?service=WMS&version=1.3.0&request=GetMap&CRS=CRS:84&BBOX=-144.0,18.0,-108.0,54.0&TRANSPARENT=TRUE&FORMAT=image/png&HEIGHT=512&LAYERS=geotiff:LC80420362014047LGN00_B10&STYLES=&WIDTH=512
Output from browser:
java.lang.ClassCastException: [[B cannot be cast to [[S
[[B cannot be cast to [[S
Output from catalina.out:
11 Mar 09:03:50 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/geotiff/ows]
11 Mar 09:03:50 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/geotiff/ows]
11 Mar 09:03:50 DEBUG [org.geoserver.ows.OWSHandlerMapping] - No handler mapping found for [/geotiff/ows]
11 Mar 09:03:50 DEBUG [org.geoserver.ows.OWSHandlerMapping] - Mapping [/geotiff/ows] to HandlerExecutionChain with handler [org.geoserver.ows.Dispatcher@anonymised.com412…] and 1 interceptor
11 Mar 09:03:50 DEBUG [org.geoserver.config.impl] - Could not locate service of type interface org.geoserver.wms.WMSInfo in workspace WorkspaceInfoImpl[geotiff], available services were [WMSInfoImpl[WMS], WFSInfoImpl[WFS], WCSInfoImpl[WCS]]
11 Mar 09:03:50 INFO [org.geoserver.wms] -
Request: getServiceInfo
11 Mar 09:03:50 DEBUG [org.geoserver.ows] - Getting layers and styles from LAYERS and STYLES
11 Mar 09:03:50 DEBUG [org.geoserver.ows] - establishing raster style for geotiff:LC80420362014047LGN00_B10
11 Mar 09:03:50 DEBUG [org.geoserver.config.impl] - Could not locate service of type interface org.geoserver.wms.WMSInfo in workspace WorkspaceInfoImpl[geotiff], available services were [WMSInfoImpl[WMS], WFSInfoImpl[WFS], WCSInfoImpl[WCS]]
11 Mar 09:03:50 DEBUG [org.geoserver.config.impl] - Could not locate service of type interface org.geoserver.wms.WMSInfo in workspace WorkspaceInfoImpl[geotiff], available services were [WMSInfoImpl[WMS], WFSInfoImpl[WFS], WCSInfoImpl[WCS]]
11 Mar 09:03:50 DEBUG [org.geoserver.wms] - setting up map
11 Mar 09:03:50 DEBUG [org.geoserver.config.impl] - Could not locate service of type interface org.geoserver.wms.WMSInfo in workspace WorkspaceInfoImpl[geotiff], available services were [WMSInfoImpl[WMS], WFSInfoImpl[WFS], WCSInfoImpl[WCS]]
11 Mar 09:03:50 DEBUG [org.geoserver.wms.map] - setting up 512x512 image
11 Mar 09:03:50 DEBUG [org.geoserver.config.impl] - Could not locate service of type interface org.geoserver.wms.WMSInfo in workspace WorkspaceInfoImpl[geotiff], available services were [WMSInfoImpl[WMS], WFSInfoImpl[WFS], WCSInfoImpl[WCS]]
11 Mar 09:03:50 DEBUG [org.geoserver.config.impl] - Could not locate service of type interface org.geoserver.wms.WMSInfo in workspace WorkspaceInfoImpl[geotiff], available services were [WMSInfoImpl[WMS], WFSInfoImpl[WFS], WCSInfoImpl[WCS]]
11 Mar 09:03:50 INFO [org.geoserver.wms] -
Request: getMap
Buffer = 0
Format = image/png
Time =
RemoteOwsType = null
RemoteOwsURL = null
SldBody = null
ValidateSchema = false
Sld = null
CQLFilter = null
FeatureId = null
SldVersion = null
Filters = null
Width = 512
Filter = null
Height = 512
Elevation =
Angle = 0.0
BgColor = java.awt.Color[r=255,g=255,b=255]
Transparent = true
StartIndex = null
FormatOptions = {}
TilesOrigin = null
Tiled = false
Palette = null
FeatureVersion = null
SRS = CRS:84
Styles = [StyleImpl[ name=raster]]
Layers = [org.geoserver.wms.MapLayerInfo@anonymised.com]
MaxFeatures = null
ViewParams = null
Crs = GEOGCS[“WGS84”,
DATUM[“WGS84”,
SPHEROID[“WGS84”, 6378137.0, 298.257223563]],
PRIMEM[“Greenwich”, 0.0],
UNIT[“degree”, 0.017453292519943295],
AXIS[“Geodetic longitude”, EAST],
AXIS[“Geodetic latitude”, NORTH],
AUTHORITY[“Web Map Service CRS”,“84”]]
Bbox = ReferencedEnvelope[-144.0 : -108.0, 18.0 : 54.0]
Env = {}
Exceptions = SE_XML
Version = 1.3.0
Request = GetMap
RawKvp = {CRS=CRS:84, BBOX=-144.0,18.0,-108.0,54.0, TRANSPARENT=TRUE, VERSION=1.3.0, FORMAT=image/png, SERVICE=WMS, HEIGHT=512, REQUEST=GetMap, LAYERS=geotiff:LC80420362014047LGN00_B10, STYLES=, WIDTH=512}
BaseUrl = http://172.16.203.30:8080/geoserver/
Get = true
RequestCharset = UTF-8
11 Mar 09:03:50 DEBUG [org.geoserver.wms.map] - Writing png image …
11 Mar 09:03:50 ERROR [org.geoserver.ows] -
java.lang.ClassCastException: [[B cannot be cast to [[S
at com.sun.media.jai.opimage.BandMergeOpImage.shortLoop(BandMergeOpImage.java:346)
at com.sun.media.jai.opimage.BandMergeOpImage.computeRect(BandMergeOpImage.java:204)
at javax.media.jai.PointOpImage.computeTile(PointOpImage.java:914)
at com.sun.media.jai.util.SunTileScheduler.scheduleTile(SunTileScheduler.java:904)
at javax.media.jai.OpImage.getTile(OpImage.java:1129)
at javax.media.jai.PlanarImage.copyData(PlanarImage.java:2343)
at javax.media.jai.PlanarImage.copyExtendedData(PlanarImage.java:2398)
at javax.media.jai.PlanarImage.getExtendedData(PlanarImage.java:2459)
at com.sun.media.jai.opimage.MosaicOpImage.computeTile(MosaicOpImage.java:432)
at com.sun.media.jai.util.SunTileScheduler.scheduleTile(SunTileScheduler.java:904)
at javax.media.jai.OpImage.getTile(OpImage.java:1129)
at javax.media.jai.PlanarImage.getData(PlanarImage.java:2085)
WMS version 1.1.1 request:
172.16.203.30:8080/geoserver/geotiff/wms?service=WMS&version=1.1.1&request=GetMap&SRS=EPSG:4326&BBOX=-144.0,18.0,-108.0,54.0&TRANSPARENT=TRUE&FORMAT=image/png&HEIGHT=512&LAYERS=geotiff:LC80420362014047LGN00_B10&STYLES=&WIDTH=512
Output from browser:
No output on the browser, instead the server returned a PNG image. When I opened the image, it showed “Invalid Image” instead of the actual image of the Landsat data.
Output from catalina.out:
11 Mar 09:15:06 DEBUG [org.geoserver.ows.OWSHandlerMapping] - Mapping [/geotiff/wms] to HandlerExecutionChain with handler [org.geoserver.ows.Dispatcher@anonymised.com] and 1 interceptor
11 Mar 09:15:06 DEBUG [org.geoserver.config.impl] - Could not locate service of type interface org.geoserver.wms.WMSInfo in workspace WorkspaceInfoImpl[geotiff], available services were [WMSInfoImpl[WMS], WFSInfoImpl[WFS], WCSInfoImpl[WCS]]
11 Mar 09:15:06 INFO [org.geoserver.wms] -
Request: getServiceInfo
11 Mar 09:15:06 DEBUG [org.geoserver.ows] - Getting layers and styles from LAYERS and STYLES
11 Mar 09:15:06 DEBUG [org.geoserver.ows] - establishing raster style for geotiff:LC80420362014047LGN00_B10
11 Mar 09:15:06 DEBUG [org.geoserver.config.impl] - Could not locate service of type interface org.geoserver.wms.WMSInfo in workspace WorkspaceInfoImpl[geotiff], available services were [WMSInfoImpl[WMS], WFSInfoImpl[WFS], WCSInfoImpl[WCS]]
11 Mar 09:15:06 DEBUG [org.geoserver.config.impl] - Could not locate service of type interface org.geoserver.wms.WMSInfo in workspace WorkspaceInfoImpl[geotiff], available services were [WMSInfoImpl[WMS], WFSInfoImpl[WFS], WCSInfoImpl[WCS]]
11 Mar 09:15:06 DEBUG [org.geoserver.wms] - setting up map
11 Mar 09:15:06 DEBUG [org.geoserver.config.impl] - Could not locate service of type interface org.geoserver.wms.WMSInfo in workspace WorkspaceInfoImpl[geotiff], available services were [WMSInfoImpl[WMS], WFSInfoImpl[WFS], WCSInfoImpl[WCS]]
11 Mar 09:15:06 DEBUG [org.geoserver.wms.map] - setting up 512x512 image
11 Mar 09:15:06 DEBUG [org.geoserver.config.impl] - Could not locate service of type interface org.geoserver.wms.WMSInfo in workspace WorkspaceInfoImpl[geotiff], available services were [WMSInfoImpl[WMS], WFSInfoImpl[WFS], WCSInfoImpl[WCS]]
11 Mar 09:15:06 DEBUG [org.geoserver.config.impl] - Could not locate service of type interface org.geoserver.wms.WMSInfo in workspace WorkspaceInfoImpl[geotiff], available services were [WMSInfoImpl[WMS], WFSInfoImpl[WFS], WCSInfoImpl[WCS]]
11 Mar 09:15:06 INFO [org.geoserver.wms] -
Request: getMap
Buffer = 0
Format = image/png
Time =
RemoteOwsType = null
RemoteOwsURL = null
SldBody = null
ValidateSchema = false
Sld = null
CQLFilter = null
FeatureId = null
SldVersion = null
Filters = null
Width = 512
Filter = null
Height = 512
Elevation =
Angle = 0.0
BgColor = java.awt.Color[r=255,g=255,b=255]
Transparent = true
StartIndex = null
FormatOptions = {}
TilesOrigin = null
Tiled = false
Palette = null
FeatureVersion = null
SRS = EPSG:4326
Styles = [StyleImpl[ name=raster]]
Layers = [org.geoserver.wms.MapLayerInfo@anonymised.com]
MaxFeatures = null
ViewParams = null
Crs = GEOGCS[“WGS 84”,
DATUM[“World Geodetic System 1984”,
SPHEROID[“WGS 84”, 6378137.0, 298.257223563, AUTHORITY[“EPSG”,“7030”]],
AUTHORITY[“EPSG”,“6326”]],
PRIMEM[“Greenwich”, 0.0, AUTHORITY[“EPSG”,“8901”]],
UNIT[“degree”, 0.017453292519943295],
AXIS[“Geodetic longitude”, EAST],
AXIS[“Geodetic latitude”, NORTH],
AUTHORITY[“EPSG”,“4326”]]
Bbox = ReferencedEnvelope[-144.0 : -108.0, 18.0 : 54.0]
Env = {}
Exceptions = SE_XML
Version = 1.1.1
Request = GetMap
RawKvp = {BBOX=-144.0,18.0,-108.0,54.0, TRANSPARENT=TRUE, VERSION=1.1.1, FORMAT=image/png, SERVICE=WMS, HEIGHT=512, REQUEST=GetMap, LAYERS=geotiff:LC80420362014047LGN00_B10, STYLES=, SRS=EPSG:4326, WIDTH=512}
BaseUrl = http://172.16.203.30:8080/geoserver/
Get = true
RequestCharset = UTF-8
11 Mar 09:15:06 DEBUG [org.geoserver.wms.map] - Writing png image …
11 Mar 09:15:06 ERROR [org.geoserver.ows] -
java.lang.ClassCastException: [[B cannot be cast to [[S
at com.sun.media.jai.opimage.BandMergeOpImage.shortLoop(BandMergeOpImage.java:346)
at com.sun.media.jai.opimage.BandMergeOpImage.computeRect(BandMergeOpImage.java:204)
at javax.media.jai.PointOpImage.computeTile(PointOpImage.java:914)
at com.sun.media.jai.util.SunTileScheduler.scheduleTile(SunTileScheduler.java:904)
at javax.media.jai.OpImage.getTile(OpImage.java:1129)
at javax.media.jai.PlanarImage.copyData(PlanarImage.java:2343)
at javax.media.jai.PlanarImage.copyExtendedData(PlanarImage.java:2398)
at javax.media.jai.PlanarImage.getExtendedData(PlanarImage.java:2459)
at com.sun.media.jai.opimage.MosaicOpImage.computeTile(MosaicOpImage.java:432)
at com.sun.media.jai.util.SunTileScheduler.scheduleTile(SunTileScheduler.java:904)
When I changed the projection to SRS=EPSG:32611, I did not see error in the Tomcat log and I there was an image displayed on the browser. However, the image is all white. Not sure if there is anything wrong with the URL, but at least it did not get ClassCastException error.
Please help! We really need this to work.
Many thanks.
Regards,
Tam
···
On Tue, Mar 11, 2014 at 3:02 AM, Nicola Lagomarsini [via OSGeo.org] <[hidden email]> wrote:
Hi Tam,
I tried my tests with both the projections you used (WGS 84 and UTM Zone 11N) but I haven’t found any error.
Cheers,
Nicola.
Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
Geoserver-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
If you reply to this email, your message will be added to the discussion below:
http://osgeo-org.1560.x6.nabble.com/Got-ClassCastException-rendering-Landsat-GeoTIFF-image-tp5106677p5128279.html
To unsubscribe from Got ClassCastException rendering Landsat GeoTIFF image., click here.
NAML
2014-03-11 1:55 GMT+01:00 tt5430 <[hidden email]>:
Thanks, I’ll try with geoserver 2.5. By the did you test using the same projection that my client used?
Regards,
Tam
On Mar 10, 2014 10:00 AM, “Nicola Lagomarsini [via OSGeo.org]” <[hidden email]> wrote:
Hi Tam,
sorry for the delay. I tested your image with different versions of GeoServer and ImageIO-Ext but I was unable to replicate your bug. Could you try to use a newer version of GeoServer?
Cheers,
Nicola.
–
Ing. Nicola Lagormarsini
Junior Software Engineer
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: <a href=“tel:%2B39%200584%20962313” value=“<a href=“tel:%2B390584962313” value=”<a href=“tel:%2B390584962313” value=“+390584962313” target=“_blank”>+390584962313" target=“_blank”><a href=“tel:%2B390584962313” value=“+390584962313” target=“_blank”>+390584962313" target=“_blank”><a href=“tel:%2B39%200584%20962313” value=“<a href=“tel:%2B390584962313” value=”+390584962313" target=“_blank”>+390584962313" target=“_blank”><a href=“tel:%2B39%200584%20962313” value=“+390584962313” target=“_blank”>+39 0584 962313
fax: <a href=“tel:%2B39%200584%201660272” value=“<a href=“tel:%2B3905841660272” value=”<a href=“tel:%2B3905841660272” value=“+3905841660272” target=“_blank”>+3905841660272" target=“_blank”><a href=“tel:%2B3905841660272” value=“+3905841660272” target=“_blank”>+3905841660272" target=“_blank”><a href=“tel:%2B39%200584%201660272” value=“+3905841660272” target=“_blank”>+39 0584 1660272
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
–
Ing. Nicola Lagormarsini
Junior Software Engineer
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: <a href=“tel:%2B39%200584%20962313” value=“+390584962313” target=“_blank”>+39 0584 962313
fax: <a href=“tel:%2B39%200584%201660272” value=“+3905841660272” target=“_blank”>+39 0584 1660272
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
Geoserver-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
If you reply to this email, your message will be added to the discussion below:
http://osgeo-org.1560.x6.nabble.com/Got-ClassCastException-rendering-Landsat-GeoTIFF-image-tp5106677p5128147.html
To unsubscribe from Got ClassCastException rendering Landsat GeoTIFF image., click here.
NAML
View this message in context: Re: Got ClassCastException rendering Landsat GeoTIFF image.
Sent from the GeoServer - User mailing list archive at Nabble.com.
Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
Geoserver-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
–
==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.
Ing. Nicola Lagormarsini
Junior Software Engineer
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
2014-03-10 17:49 GMT+01:00 tam tran <[hidden email]>:
Hi Nichola,
I am wondering if you are able to download the file from Google Drive. Please let me know if you have problem downloading it. I am eager to know the status of this issue. Is there any problem of the data file or it is bug in GeoServer? If it is a bug, any plan when it will be fixed.
Regards,
Tam
On Mon, Mar 3, 2014 at 7:58 AM, tam tran <[hidden email]> wrote:
LC80420362014047LGN00_B10.TIF
Hi Nicola,
Thanks for your response. I uploaded the file to google drive. Let me know if you have trouble getting it. I hope you found the problem.
Regards,
Tam
On Mon, Mar 3, 2014 at 7:08 AM, Nicola Lagomarsini <[hidden email]> wrote:
Hi Tam,
I think that the GeoTiff reader is not able to read correctly the GeoTiff file for a wrong GeoTiff Tag definition.
Could you send me the link to the image so that I can download and test it?
Cheers,
Nicola.
2014-02-28 17:51 GMT+01:00 tt5430 <[hidden email]>:
I downloaded the Landsat GeoTIFF image from USGS EarthExplorer website. When
I tried to view it on my WorldWind map client, I got ClassCastException.
However, I could view it using the OpenLayers previewer. Below are the
getMap requests from the two viewers:
From my WorldWind client:
Request: getMap
Buffer = 0
Format = image/png
Filter = null
Filters = null
Width = 512
Height = 512
ViewParams = null
Crs = GEOGCS[“WGS84”,
DATUM[“WGS84”,
SPHEROID[“WGS84”, 6378137.0, 298.257223563]],
PRIMEM[“Greenwich”, 0.0],
UNIT[“degree”, 0.017453292519943295],
AXIS[“Geodetic longitude”, EAST],
AXIS[“Geodetic latitude”, NORTH],
AUTHORITY[“Web Map Service CRS”,“84”]]
Bbox = ReferencedEnvelope[-126.0 : -117.0, 27.0 : 36.0]
Elevation =
Angle = 0.0
BgColor = java.awt.Color[r=255,g=255,b=255]
Transparent = true
StartIndex = null
FormatOptions = {}
RemoteOwsType = null
RemoteOwsURL = null
SldBody = null
ValidateSchema = false
Sld = null
CQLFilter = null
FeatureId = null
SldVersion = null
Tiled = false
Palette = null
FeatureVersion = null
SRS = CRS:84
Styles = [StyleImpl[ name=raster]]
Layers = [org.geoserver.wms.MapLayerInfo@anonymised.com403…]
MaxFeatures = null
TilesOrigin = null
Env = {}
Exceptions = SE_XML
Time =
Version = 1.3
Request = GetMap
BaseUrl = http://172.16.203.30:8080/geoserver/
Get = true
RawKvp = {CRS=CRS:84, BBOX=-126.0,27.0,-117.0,36.0, TRANSPARENT=TRUE,
VERSION=1.3, FORMAT=image/png, SERVICE=WMS, HEIGHT=512, REQUEST=GetMap,
LAYERS=geotiff:LC80420362014047LGN00_B10, STYLES=, WIDTH=512}
RequestCharset = UTF-8
28 Feb 08:18:29 ERROR [geoserver.ows] -
java.lang.ClassCastException: [[B cannot be cast to [[S
at
com.sun.media.jai.opimage.BandMergeOpImage.shortLoop(BandMergeOpImage.java:346)
at
com.sun.media.jai.opimage.BandMergeOpImage.computeRect(BandMergeOpImage.java:204)
at javax.media.jai.PointOpImage.computeTile(PointOpImage.java:914)
at
com.sun.media.jai.util.SunTileScheduler.scheduleTile(SunTileScheduler.java:904)
at javax.media.jai.OpImage.getTile(OpImage.java:1129)
at javax.media.jai.PlanarImage.copyData(PlanarImage.java:2343)
at javax.media.jai.PlanarImage.copyExtendedData(PlanarImage.java:2398)
at javax.media.jai.PlanarImage.getExtendedData(PlanarImage.java:2459)
at
com.sun.media.jai.opimage.MosaicOpImage.computeTile(MosaicOpImage.java:432)
From OpenLayer previewer:
Request: getMap
Buffer = 0
Format = image/jpeg
Filter = null
Filters = null
Width = 502
Height = 512
ViewParams = null
Crs = PROJCS[“WGS 84 / UTM zone 11N”,
GEOGCS[“WGS 84”,
DATUM[“World Geodetic System 1984”,
SPHEROID[“WGS 84”, 6378137.0, 298.257223563,
AUTHORITY[“EPSG”,“7030”]],
AUTHORITY[“EPSG”,“6326”]],
PRIMEM[“Greenwich”, 0.0, AUTHORITY[“EPSG”,“8901”]],
UNIT[“degree”, 0.017453292519943295],
AXIS[“Geodetic longitude”, EAST],
AXIS[“Geodetic latitude”, NORTH],
AUTHORITY[“EPSG”,“4326”]],
PROJECTION[“Transverse_Mercator”, AUTHORITY[“EPSG”,“9807”]],
PARAMETER[“central_meridian”, -117.0],
PARAMETER[“latitude_of_origin”, 0.0],
PARAMETER[“scale_factor”, 0.9996],
PARAMETER[“false_easting”, 500000.0],
PARAMETER[“false_northing”, 0.0],
UNIT[“m”, 1.0],
AXIS[“Easting”, EAST],
AXIS[“Northing”, NORTH],
AUTHORITY[“EPSG”,“32611”]]
Bbox = ReferencedEnvelope[1796.3671875 : 471303.6328125, 3593670.0 :
4072530.0]
Elevation =
Angle = 0.0
BgColor = java.awt.Color[r=255,g=255,b=255]
Transparent = false
StartIndex = null
FormatOptions = {}
RemoteOwsType = null
RemoteOwsURL = null
SldBody = null
ValidateSchema = false
Sld = null
CQLFilter = null
FeatureId = null
SldVersion = null
Tiled = false
Palette = null
FeatureVersion = null
SRS = EPSG:32611
Styles = [StyleImpl[ name=raster]]
Layers = [org.geoserver.wms.MapLayerInfo@anonymised.com403…]
MaxFeatures = null
TilesOrigin = null
Env = {}
Exceptions = SE_XML
Time =
Version = 1.1.1
Request = GetMap
BaseUrl = http://localhost:8080/geoserver/
Get = true
RawKvp = {BBOX=1796.3671875,3593670,471303.6328125,4072530, VERSION=1.1.1,
FORMAT=image/jpeg, SERVICE=WMS, HEIGHT=512,
LAYERS=geotiff:LC80420362014047LGN00_B10, REQUEST=GetMap, STYLES=,
SRS=EPSG:32611, WIDTH=502}
RequestCharset = UTF-8
Below is the image info output from gdalinfo:
vriuser@anonymised.com:/archive/maps/landsat$ gdalinfo
LC80420362014047LGN00_B10.TIF
gdalinfo: /home/gdal-libraries/libgdal.so.1: no version information
available (required by gdalinfo)
Driver: GTiff/GeoTIFF
Files: LC80420362014047LGN00_B10.TIF
Size is 7831, 7981
Coordinate System is:
PROJCS[“WGS 84 / UTM zone 11N”,
GEOGCS[“WGS 84”,
DATUM[“WGS_1984”,
SPHEROID[“WGS 84”,6378137,298.257223563,
AUTHORITY[“EPSG”,“7030”]],
AUTHORITY[“EPSG”,“6326”]],
PRIMEM[“Greenwich”,0],
UNIT[“degree”,0.0174532925199433],
AUTHORITY[“EPSG”,“4326”]],
PROJECTION[“Transverse_Mercator”],
PARAMETER[“latitude_of_origin”,0],
PARAMETER[“central_meridian”,-117],
PARAMETER[“scale_factor”,0.9996],
PARAMETER[“false_easting”,500000],
PARAMETER[“false_northing”,0],
UNIT[“metre”,1,
AUTHORITY[“EPSG”,“9001”]],
AUTHORITY[“EPSG”,“32611”]]
Origin = (119085.000000000000000,3952815.000000000000000)
Pixel Size = (30.000000000000000,-30.000000000000000)
Metadata:
AREA_OR_POINT=Point
Image Structure Metadata:
INTERLEAVE=BAND
Corner Coordinates:
Upper Left ( 119085.000, 3952815.000) (121d12’23.17"W, 35d38’44.69"N)
Lower Left ( 119085.000, 3713385.000) (121d 5’57.02"W, 33d29’32.04"N)
Upper Right ( 354015.000, 3952815.000) (118d36’49.58"W, 35d42’30.51"N)
Lower Right ( 354015.000, 3713385.000) (118d34’20.99"W, 33d33’ 0.49"N)
Center ( 236550.000, 3833100.000) (119d52’22.56"W, 34d36’21.46"N)
Band 1 Block=7831x1 Type=UInt16, ColorInterp=Gray
I also attached the screenshot of the layer information.
Can anyone tell me what was wrong? Why I got ClassCastException with my
viewer? Let me know if you need more information. I am not sure if I can
upload the image file since it is about 125 MB. Let me know if you need the
image.
<http://osgeo-org.1560.x6.nabble.com/file/n5106677/screenshot.jpg>
Many thanks in advance.
Regards,
Tam
–
View this message in context: http://osgeo-org.1560.x6.nabble.com/Got-ClassCastException-rendering-Landsat-GeoTIFF-image-tp5106677.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries. Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
Geoserver-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users