[Geoserver-users] Why do some Geotiffs not display as Geoserver layers

Hi,

Yes, I checked the image also with QGIS and discovered that it was doing an automatic LUT stretch for viewing.
But for me the image that I downloaded from your link (PM25_monthly_19971000.tiff) is OK in the layer preview. No errors, it just looks totally black with bare eyes. I created the new layer into cite: workspace and with the default raster style. I don't know how I could test it further. Perhaps I would download a new 2.6 nightly version from http://geoserver.org/release/2.6.x and make one more test with just this one image and by keeping everything else in the default settings.

-Jukka Rahkonen-

VictoriaH wrote:

I can look at this image in QGIS and it looks fine. I cannot stretch the values,
because the values are meaningful for interpretation, and are handled correctly
by my SLD. When I try to look at the image in the GEoserver administration layer
preview, it throws an error. I have even clipped the image so it does not extend
beyond N and S 85 degrees (so it can be re-projected in the Layer preview). I
have another image that does display in the preview. Both the good image and
the bad image give exactly the same Gdalinfo output. The good image displays
even though it extends all the way to 90 north and south. I have tried all of the
suggestions in this post thread, but I still get an error. I don't understand why
one will display correctly, and the other will not.

2014-10-02 14:10:18,569 WARN [org.geoserver.web] - Unable to reproject layer
pm25_geotiff:20140709to spherical mercator
2014-10-02 14:10:18,577 WARN [org.geoserver.web] - Unable to reproject layer
pm25_monthly:PM25_monthly_19991000to spherical mercator
2014-10-02 14:10:20,797 INFO [org.geoserver.wms] -
Request: getServiceInfo
2014-10-02 14:10:20,798 DEBUG [org.geotools.util] - CRSConverterFactory can
be applied from Strings to CRS only.
2014-10-02 14:10:20,798 DEBUG [org.geotools.util] - CRSConverterFactory can
be applied from Strings to CRS only.
2014-10-02 14:10:20,799 ERROR [org.geoserver.ows] -
java.lang.IllegalArgumentException: The specified coverageName
PM25_monthly_19970900is not supported
  at
org.geotools.coverage.grid.io.AbstractGridCoverage2DReader.getMetadataNa
mes(AbstractGridCoverage2DReader.java:965)
  at
org.geoserver.catalog.SingleGridCoverage2DReader.getMetadataNames(Single
GridCoverage2DReader.java:74)
  at
org.geoserver.catalog.CoverageDimensionCustomizerReader.getMetadataNam
es(CoverageDimensionCustomizerReader.java:246)
  at
org.geoserver.catalog.util.ReaderDimensionsAccessor.<init>(ReaderDimensions
Accessor.java:96)
  at
org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestRe
ader.java:458)
  at
org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestRe
ader.java:80)
  at
org.geoserver.ows.Dispatcher.parseRequestKVP(Dispatcher.java:1428)
  at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:626)
  at
org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:263)
  at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(Abstra
ctController.java:153)
  at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(
SimpleControllerHandlerAdapter.java:48)
  at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServl
et.java:923)
  at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet
.java:852)
  at
org.springframework.web.servlet.FrameworkServlet.processRequest(Framewor
kServlet.java:882)
  at
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.j
ava:778)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilte
rChain.java:290)
  at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.j
ava:206)
  at
org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFil
ter.java:27)
  at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilte
rChain.java:235)
  at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.j
ava:206)
  at
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilte
r.java:74)
  at
org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFilter.java:70)
  at
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilte
r.java:70)
  at
org.geoserver.flow.controller.IpBlacklistFilter.doFilter(IpBlacklistFilter.java:92)
  at
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilte
r.java:70)
  at
org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:
45)
  at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilte
rChain.java:235)
  at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.j
ava:206)
  at
org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter
.java:49)
  at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilte
rChain.java:235)
  at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.j
ava:206)
  at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(F
ilterChainProxy.java:311)
  at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilt
er(GeoServerCompositeFilter.java:68)
  at
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.inv
oke(FilterSecurityInterceptor.java:116)
  at
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.do
Filter(FilterSecurityInterceptor.java:83)
  at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilt
er(GeoServerCompositeFilter.java:72)
  at
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerComp
ositeFilter.java:91)
  at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(F
ilterChainProxy.java:323)
  at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilt
er(GeoServerCompositeFilter.java:68)
  at
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(Ex
ceptionTranslationFilter.java:113)
  at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilt
er(GeoServerCompositeFilter.java:72)
  at
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerComp
ositeFilter.java:91)
  at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(F
ilterChainProxy.java:323)
  at
org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(
GeoServerAnonymousAuthenticationFilter.java:53)
  at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(F
ilterChainProxy.java:323)
  at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilt
er(GeoServerCompositeFilter.java:68)
  at
org.springframework.security.web.authentication.www.BasicAuthenticationFilt
er.doFilter(BasicAuthenticationFilter.java:150)
  at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilt
er(GeoServerCompositeFilter.java:72)
  at
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerComp
ositeFilter.java:91)
  at
org.geoserver.security.filter.GeoServerBasicAuthenticationFilter.doFilter(GeoSer
verBasicAuthenticationFilter.java:82)
  at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(F
ilterChainProxy.java:323)
  at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilt
er(GeoServerCompositeFilter.java:68)
  at
org.springframework.security.web.context.SecurityContextPersistenceFilter.doF
ilter(SecurityContextPersistenceFilter.java:87)
  at
org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1.doFilt
er(GeoServerSecurityContextPersistenceFilter.java:52)
  at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilt
er(GeoServerCompositeFilter.java:72)
  at
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerComp
ositeFilter.java:91)
  at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(F
ilterChainProxy.java:323)
  at
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.jav
a:173)
  at
org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSe
curityFilterChainProxy.java:134)
  at
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(Delegatin
gFilterProxy.java:346)
  at
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterP
roxy.java:259)
  at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilte
rChain.java:235)
  at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.j
ava:206)
  at
org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:75)
  at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilte
rChain.java:235)
  at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.j
ava:206)
  at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)
  at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilte
rChain.java:235)
  at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.j
ava:206)
  at
org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:47)
  at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilte
rChain.java:235)
  at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.j
ava:206)
  at
org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:43)
  at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilte
rChain.java:235)
  at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.j
ava:206)
  at
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEnco
dingFilter.java:109)
  at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilte
rChain.java:235)
  at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.j
ava:206)
  at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve
.java:233)
  at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j
ava:191)
  at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:12
7)
  at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.jav
a:109)
  at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
  at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
  at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(H
ttp11Protocol.java:588)
  at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
  at java.lang.Thread.run(Thread.java:701)

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Why-do-
some-Geotiffs-not-display-as-Geoserver-layers-tp5164850p5165622.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI
DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-
Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS
3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktr
k
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

OK, I have installed the latest build of Geoserver. I an now load individual
geotiffs and create new stores from them that display correctly in layer
preview. If I try and build a time series using the imagemosaick store type,
I point to the directory where I have many geotiffs, and I get the error:

Could not list layers for this store, an error occurred retrieving them:
Failed to create reader from
file:///var/www/pm25_geoserver/public_html/inputFile/monthly and hints null

My geotiffs are in a directory:
/var/www/pm25/public_html/inputTiffs...ownership is tomcat6 and group is
www-data. I have placed 3 configuration files in the directory so that the
application will create a postgres/postgis database...and I still get the
error. What am I missing??

Thank you!!

V

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Re-Why-do-some-Geotiffs-not-display-as-Geoserver-layers-tp5165646p5167078.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Hi Victoria,

Did you previously create an ImageMosaic time series store from the directory "file:///var/www/pm25_geoserver/public_html/inputFile/monthly" ? If so and you are trying to re-create the ImageMosaic store at the same location make sure that the files that GeoServer puts in that directory after creation are removed, otherwise the new ImageMosaic will fail to be created. For example, the ImageMosaic store creation process appears to create a few files in that directory, a properties file with the name "monthly.properties" and a file called "sample_image". If this is the case then removing those generated files should allow the ImageMosaic store to be created again.

--Steve

-----Original Message-----
From: VictoriaH [mailto:bhudspeth@anonymised.com]
Sent: Sunday, October 12, 2014 10:37 AM
To: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Why do some Geotiffs not display as Geoserver layers

OK, I have installed the latest build of Geoserver. I an now load individual geotiffs and create new stores from them that display correctly in layer preview. If I try and build a time series using the imagemosaick store type, I point to the directory where I have many geotiffs, and I get the error:

Could not list layers for this store, an error occurred retrieving them:
Failed to create reader from
file:///var/www/pm25_geoserver/public_html/inputFile/monthly and hints null

My geotiffs are in a directory:
/var/www/pm25/public_html/inputTiffs...ownership is tomcat6 and group is www-data. I have placed 3 configuration files in the directory so that the application will create a postgres/postgis database...and I still get the error. What am I missing??

Thank you!!

V

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Re-Why-do-some-Geotiffs-not-display-as-Geoserver-layers-tp5165646p5167078.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://p.sf.net/sfu/Zoho _______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Thanks Steve,

I could not find the files you mention in that particular directory... I can
use the Geotiff store type with no problem on an individual file in that
directory, but when I use the imagemosaick store type on the same directory,
I get the error.

Not sure what to try next....

V

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Re-Why-do-some-Geotiffs-not-display-as-Geoserver-layers-tp5165646p5167652.html
Sent from the GeoServer - User mailing list archive at Nabble.com.