Hi Daniele,  thank you for the response, I really appreciate your time.

Here’s the full verbose log from the request:

DEBUG [geoserver.filters] – Compressing output for mimetype: 
text/html;charset=UTF-8
DEBUG [filter.GeoserverSecurityContextPersistenceFilter$1] – 
SecurityContextHolder now cleared, as request processing completed
TRACE [ows.OWSHandlerMapping] – No handler mapping found for [/NITFtest/wms]
TRACE [ows.OWSHandlerMapping] – No handler mapping found for [/NITFtest/wms]
TRACE [ows.OWSHandlerMapping] – No handler mapping found for [/NITFtest/wms]
TRACE [ows.OWSHandlerMapping] – No handler mapping found for [/NITFtest/wms]
TRACE [ows.OWSHandlerMapping] – No handler mapping found for [/NITFtest/wms]
TRACE [ows.OWSHandlerMapping] – No handler mapping found for [/NITFtest/wms]
TRACE [ows.OWSHandlerMapping] – Mapping [/NITFtest/wms] to 
HandlerExecutionChain with handler [org.geoserver.ows.Dispatcher@71051a7e] and 
1 interceptor
INFO [geoserver.wms] – Request: getServiceInfo
DEBUG [geoserver.ows] – Getting layers and styles from LAYERS and STYLES
DEBUG [geoserver.ows] – establishing raster style for NITFtest:12AUG12W
DEBUG [geoserver.wms] – setting up map
DEBUG [gdal.nitf] – Creating a new NITFformat.
DEBUG [wms.map] – setting up 512x438 image
DEBUG [geotools.coverageio] – Adjusted Requested Envelope = 
ReferencedEnvelope[0.0 : 35840.0, 0.0 : 30720.0]
Requested raster dimension = java.awt.Rectangle[x=0,y=0,width=3840,height=30720]
DEBUG [geotools.coverageio] – Coverage read: width = 512 height = 439
DEBUG [geotools.rendering] – Drawing coverage Gridcoverage2D[“12AUG12W”, 
GeneralEnvelope[(-34.5, -34.48861047835991), (35805.5, 30685.511389521642)],
DefaultEngineeringCRS[“Wildcard 2D cartesian plane in metric unit”]]
Image=RenderedOp[“ImageReadMT”]

DEBUG [geotools.rendering] – Transforming coverage envelope with transform 
PARAM_MT[“Affine”,
                PARAMETER[“num_row”, 3],
PARAMETER[“num_col”, 3]]
DEBUG [geotools.rendering] – Using interpolation 
javax.media.jai.InterpolationNearest@38b1180d<mailto:javax.media.jai.InterpolationNearest@38b1180d>
DEBUG [geotools.rendering] – Raster Symbolizer
DEBUG [geotools.rendering] – Raster Symbolizer
DEBUG [geotools.rendering] – Unable to create a granuleDescriptor 
org.geotools.renderer.lite.gridcoverage2d.GridCoverageRenderer@f0ba455<mailto:org.geotools.renderer.lite.gridcoverage2d.GridCoverageRenderer@f0ba455>
 due to jai scale bug
DEBUG [geotools.rendering] – Computed scale denominator: 249999.999999999
DEBUG [geotools.rendering] – Processing 1 stylers for 
http://www.opengis.net/gml:GridCoverage
DEBUG [geotools.rendering] – creating rules for scale denominator – 250,000
DEBUG [geotools.rendering] – Expanding rendering area by 1 pixels to consider 
stroke width
DEBUG [geotools.rendering] – added attribute grid
DEBUG [geotools.rendering] – added attribute params
DEBUG [geotools.rendering] – Querying layer 
http://www.opengis.net/gml:GridCoverage with bbox: ReferenceEnvelope[-70.0 : 
35910.0, -70.13698630136986 : 30790.13698630137]
DEBUG [geotools.data] – Recasting feature type to subtype by using a 
ReTypeFeatureReader
DEBUG [geotools.coverageio] – Adjusted Requested Envelope = 
ReferencedEnvelope[0.0 : 35840.0, 0.0 : 30720.0]
Requested raster dimension = java.awt.Rectangle[x-0, width=512,height=438]
Corresponding raster source region = 
java.awt.Rectangle[x-0,y=0,width=35840,height=30720]
DEBUG [geotools.coverageio] – Coverage read: width = 512 height = 439
DEBUG [geotools.rendering] – Rendering Raster Gridcoverage2D[“12AUG12W”, 
GeneralEnvelope[(-34.5, -34.48861047835991), (35805.5, 30685.511389521642)],
DefaultEngineeringCRS[“Wildcard 2D cartesian plane in metric unit”]]
Image=RenderedOp[“ImageReadMT”]

DEBUG [geotools.rendering] – Drawing coverage Gridcoverage2D[“12AUG12W”, 
GeneralEnvelope[(-34.5, -34.48861047835991), (35805.5, 30685.511389521642)],
DefaultEngineeringCRS[“Wildcard 2D cartesian plane in metric unit”]]
Image=RenderedOp[“ImageReadMT”]

DEBUG [geotools.rendering] – Drawing coverage Gridcoverage2D[“12AUG12W”, 
GeneralEnvelope[(-34.5, -34.48861047835991), (35805.5, 30685.511389521642)],
DefaultEngineeringCRS[“Wildcard 2D cartesian plane in metric unit”]]
Image=RenderedOp[“ImageReadMT”]

DEBUG [geotools.rendering] – Transforming coverage envelope with transform 
PARAM_MT[“Affine”,
                PARAMETER[“num_row”, 3],
PARAMETER[“num_col”, 3]]
DEBUG [geotools.rendering] – Using interpolation 
javax.media.jai.InterpolationNearest@38b1180d<mailto:javax.media.jai.InterpolationNearest@38b1180d>
DEBUG [geotools.rendering] – Raster Symbolizer
DEBUG [geotools.rendering] – Raster Symbolizer
DEBUG [geotools.rendering] – Raster rendered
DEBUG [geotools.rendering] – Style cache hit ratio: NaN, hits 0, requests 0
INFO [geotools.wms] –
Request: getMap
                 Width = 512
                Height = 438
                Tiled = false
                Palette = null
                FeatureVersion = null
                SRS = EPSG:404000
                Styles = [StyleImpl[ name=raster]]
                Layers = [org.geoserver.wms.MapLayerInfo@e09675sc3]
                MaxFeatures = null
                Exceptions = SE_XML
                StartIndex = null
                Crs = LOCAL_CS[“Wildcard 2D cartesian plane in metric unit”,
LOCAL_DATUM[“Unknown”, 0],
UNIT[“m”, 1.0],
AXIS[“x”, EAST],
AXIS[“y”, NORTH],
AUTHORITY[“EPSG”, “404000”]]
                Bbox = ReferencedEnvelope[0.0 : 35840.0, 0.0 : 30720.0]
                RemoteOwsType = null
                Env = {}
                FormatOptions = {}
                Angle = 0.0
                CQLFilter = null
                Elevation = []
                FeatureId =null
                ViewParams = null
                BgColor = java.awt.Color[r=255,g=255,b=255]
                Transparent = false
                SldBody = null
                ValidateSchema = false
                Sld = null
                SldVersion = null
                TilesOrigin = null
                Buffer = 0
                Filter = null
                Format = image/jpeg
                Filters = null
                Time = []
                Get = true
                RequestCharset = UTF-8
                BaseUrl = http://localhost:9080/geoserver/
                RawKvp = {BBOX=0.0,0.0,35840.0,30720.0, VERSION=1.1.0, 
FORMAT=image/jpeg, SERVICE=WMS, HEIGHT=438, LAYERS=NITFtest:12AUG12W, 
REQUEST=GetMap, STYLES=, WIDTH=512,
SRS=EPSG:404000)
                Version = 1.1.0
                Request = GetMap
DEBUG [geotools.image] – Encoding input image to write out as JPEG.
DEBUG [geotools.image] – Getting a JPEG writer and configuring it.
DEBUG [geotools.image] – Writing out…
DEBUG [geotools.image] – Writing out… Done!
DEBUG [ geoserver.filters] – Not compressing output for mimetype: image/jpeg
DEBUG [filter.GeoserverSecurityContextPersistenceFilter$1] – 
SecurityContextHolder now cleared, as request processing completed
TRACE [ows.OWSHandlerMapping] – No handler mapping found for [/NITFtest/wms]
TRACE [ows.OWSHandlerMapping] – No handler mapping found for [/NITFtest/wms]
TRACE [ows.OWSHandlerMapping] – No handler mapping found for [/NITFtest/wms]
TRACE [ows.OWSHandlerMapping] – No handler mapping found for [/NITFtest/wms]
TRACE [ows.OWSHandlerMapping] – No handler mapping found for [/NITFtest/wms]
DEBUG [org.geoserver] – Thread 47 locking in mode WRITE
DEBUG [org.geoserver] – Thread 47 got the lock in mode WRITE
DEBUG [org.geoserver] – Thread 47 releasing the lock in mode WRITE
DEBUG [filter.GeoserverSecurityContextPersistenceFilter$1] – 
SecurityContextHolder now cleared, as request processing completed
TRACE [ows.OWSHandlerMapping] – No handler mapping found for [/NITFtest/wms]
TRACE [ows.OWSHandlerMapping] – No handler mapping found for [/NITFtest/wms]
TRACE [ows.OWSHandlerMapping] – No handler mapping found for [/NITFtest/wms]
TRACE [ows.OWSHandlerMapping] – No handler mapping found for [/NITFtest/wms]
TRACE [ows.OWSHandlerMapping] – No handler mapping found for [/NITFtest/wms]
DEBUG [org.geoserver] – Thread 47 locking in mode WRITE
DEBUG [org.geoserver] – Thread 47 got the lock in mode WRITE
DEBUG [org.geoserver.web] – cannot convert 
url:jar:file:/apps/work/lve/catalina/geoserver/webapps/geoserver/WEB-INF/lib/web-core-2.4.2jar!/org/geoserver/web/css/blueprint/screen.css
 to file (URI is not hierarchical), falling back to the inputstream for polling
DEBUG [org.geoserver.web] – cannot convert 
url:jar:file:/apps/work/lve/catalina/geoserver/webapps/geoserver/WEB-INF/lib/web-core-2.4.2jar!/org/geoserver/web/css/blueprint/print.css
 to file (URI is not hierarchical), falling back to the inputstream for polling
DEBUG [org.geoserver.web] – cannot convert 
url:jar:file:/apps/work/lve/catalina/geoserver/webapps/geoserver/WEB-INF/lib/web-core-2.4.2jar!/org/geoserver/web/css/geoserver.css
 to file (URI is not hierarchical), falling back to the inputstream for polling
DEBUG [org.geoserver.web] – cannot convert 
url:jar:file:/apps/work/lve/catalina/geoserver/webapps/geoserver/WEB-INF/lib/web-core-2.4.2jar!/org/geoserver/web/css/blueprint/ie.css
 to file (URI is not hierarchical), falling back to the inputstream for polling
DEBUG [org.geoserver.web] – cannot convert 
url:jar:file:/apps/work/lve/catalina/geoserver/webapps/geoserver/WEB-INF/lib/web-core-2.4.2jar!/org/geoserver/web/js/jquery-1.2.6.min.js
 to file (URI is not hierarchical), falling back to the inputstream for polling
DEBUG [org.geoserver.web] – cannot convert 
url:jar:file:/apps/work/lve/catalina/geoserver/webapps/geoserver/WEB-INF/lib/web-core-2.4.2jar!/org/geoserver/web/js/jquery.inline-info.js
 to file (URI is not hierarchical), falling back to the inputstream for polling



Unfortunately I could not get the gdalinfo on the sample file because of some 
configuration issues in our current environment, I got a bunch of file/path not 
found errors when I ran it,  please let me know
If you really need this info and I’ll grab our sys admins and have them fix it.

And lastly, I apologize for my ignorance but could you explain what you mean by 
/ where I can find the- XML of the configured coverage? Are you talking about 
the original .ntf file?

Thanks again for the help!

-John J Kim

From: [email protected] [mailto:[email protected]] On Behalf Of 
Daniele Romagnoli
Sent: Monday, March 16, 2015 9:57 AM
To: Kim, John J. (NE)
Cc: [email protected]
Subject: Re: [Geoserver-users] NITF ESPG:404000 image displaying a black image 
on preview

Dear John,
could you please raise the logging level to verbose, repeat the request and 
attach the updated log?
The log you have reported suggests that the computed image has an empty layout. 
We should check why.
In addition, could you also provide some more info please, such as a gdalinfo 
output on that sample as well as the XML of the configured coverage?
Please, let us know.
Best Regards,
Daniele

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.
==

Ing. Daniele Romagnoli
Senior 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

-------------------------------------------------------

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i 
file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo 
è consentito esclusivamente al destinatario del messaggio, per le finalità 
indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne 
il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di 
procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro 
sistema. Conservare il messaggio stesso, divulgarlo anche in parte, 
distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, 
costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for the 
attention and use of the named addressee(s) and may be confidential or 
proprietary in nature or covered by the provisions of privacy act (Legislative 
Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in 
accord with its purpose, any disclosure, reproduction, copying, distribution, 
or either dissemination, either whole or partial, is strictly forbidden except 
previous formal approval of the named addressee(s). If you are not the intended 
recipient, please contact immediately the sender by telephone, fax or e-mail 
and delete the information in this message that has been received in error. The 
sender does not give any warranty or accept liability as the content, accuracy 
or completeness of sent messages and accepts no responsibility  for changes 
made after they were sent or for other risks which arise as a result of e-mail 
transmission, viruses, etc.


On Fri, Mar 13, 2015 at 10:48 PM, Kim, John J. (NE) 
<[email protected]<mailto:[email protected]>> wrote:
Hi List, I’ve been looking for answers for days and finally gave into asking it 
on here, any help will be greatly appreciated.

So I've added the GDAL plugin to my Geoserver to allow me to view certain NITF 
images.
I have everything configured per the instructions and I can preview certain 
images but when I try to
preview larger images in EPSG:404000 it comes up completely black.

Some general info, things I’ve found and tried:
Geoserver version 2.4.2 on RHEL
Preview works fine with images under certain sizes (~30MB + EPSG:4326), but 
these problematic images
come in 300MB+ and in EPSG:404000. I think EPSG:404000 might be causing the 
issue here, I’ve tried increasing the WMS memory setting,
decreasing the opacity level for the current style to no luck..

also I’m seeing this error in the geoserver log which I believe is the key:

[geotools.rendering] – Unable to create a granuleDescriptor 
org.geotools.renderer.lite.gridcoverage2d.GridCoverageRenderer@f0ba455<mailto:org.geotools.renderer.lite.gridcoverage2d.GridCoverageRenderer@f0ba455>
 due to jai scale bug
[geotools.rendering] – Computed scale denominator: 249999.999999999
[geotools.rendering] – Processing 1 stylers for 
http://www.opengis.net/gml:GridCoverage
[geotools.rendering] – creating rules for scale denominator – 250,000
[geotools.rendering] – Expanding rendering area by 1 pixels to consider stroke 
width

If anyone has a workaround or a solution to this issue please let me know!

Thank you and I really appreciate the help,

-John Kim


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Geoserver-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/geoserver-users

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to