Hi, I am the module maintainer of imagemosaicJDBC and gdal_retile. Some hints
Quoting Black_Saber <riezka_xenog...@yahoo.com>: > > Greetings, > > I'm new to GeoServer, and currently researching using GeoServer 2.0.2 and > PostGreSql 9.0 with FWTools 2.4.7 (tweaked the gdal_retile.py and some other > as they won't working, as same as > http://trac.osgeo.org/gdal/changeset/18952 this ), and GlobalMapper 11. With > this jar : gt-imagemosaic-2.6.4.jar in WEB-INF/lib of my GeoServer and > postgresql-8.1-407.jdbc3.jar in my lib/ext of my jre. You need another jar file. Look here http://geoserver.org/display/GEOS/Stable There is a link "JDBC Image Mosaic". Please donwload the zip file, unzip it and put the contained jar file in your WEB-INF/lib. > > I have a satellite map (bought from google) for my client program. They gave > me a .tiff with .shp, .dbf, .prj and such. But we're going to use the .tiff > since the .shp is just a big rectangle that contains nothing D: You dont need this shape file. gdal_retile is able to generate shape files for each pyramid. These generated shape files contain the rectangles of the tiles and are needed for importing into the database. > > And so, I spent almost a week in order to open this big .tiff (2.60 GB), > installing a lot of programs and facepalm all the time, and finally I can > open it using GlobalMapper. Before, I almost trying to tiling that big .tiff > using gdal_retile, but stopped since it never finished. So, using > GlobalMapper, I'm converting that big .tiff to .png (the size went down to > 542 MB), then tiling it using gdal_retile. Took almost a day to tiling that. > I hope you created the pyramids too, otherwise you will get problems. I know about your problem with gdal_retile and there is a patch on the way. For the png file, one day is ok because creating pyramids and tiling is a heavy job. Please can you send me the output of gdalinfo yourimage.png Having the correct jar file in your WEB-INF/lib should solve the problem. Cheers Christian > And, so, I continue this tutorial > http://docs.geoserver.org/2.0.2/user/tutorials/imagemosaic-jdbc/imagemosaic-jdbc_tutorial.html > coverages in jdbc and it got me this error. > > Could not list layers for this store, an error occurred retrieving them: > Unable to acquire a reader for this coverage with format: ImageMosaicJDBC > > Here it is, the full log. > > 2010-12-03 09:15:24,218 WARN [geoserver.web] - NewLayerPage does not have a > title set > 2010-12-03 09:15:25,921 INFO [geoserver.web] - Getting list of coverages for > saved store file:data_dir/coverages/working/osm.postgis.xml > java.lang.RuntimeException: Could not list layers for this store, an error > occurred retrieving them: Unable to acquire a reader for this coverage with > format: ImageMosaicJDBC > at > org.geoserver.web.data.layer.NewLayerPageProvider.getItems(NewLayerPageProvider.java:92) > at > org.geoserver.web.wicket.GeoServerDataProvider.getFilteredItems(GeoServerDataProvider.java:162) > at > org.geoserver.web.data.layer.NewLayerPageProvider.getFilteredItems(NewLayerPageProvider.java:108) > at > org.geoserver.web.wicket.GeoServerDataProvider.size(GeoServerDataProvider.java:177) > at > org.geoserver.web.wicket.GeoServerTablePanel$Pager.first(GeoServerTablePanel.java:477) > at > org.geoserver.web.wicket.GeoServerTablePanel$Pager.updateMatched(GeoServerTablePanel.java:467) > at > org.geoserver.web.wicket.GeoServerTablePanel$Pager.<init>(GeoServerTablePanel.java:442) > at > org.geoserver.web.wicket.GeoServerTablePanel.<init>(GeoServerTablePanel.java:188) > at > org.geoserver.web.wicket.GeoServerTablePanel.<init>(GeoServerTablePanel.java:82) > at > org.geoserver.web.data.layer.NewLayerPage$1.<init>(NewLayerPage.java:95) > at > org.geoserver.web.data.layer.NewLayerPage.<init>(NewLayerPage.java:92) > at > org.geoserver.web.data.store.CoverageStoreNewPage.onSave(CoverageStoreNewPage.java:71) > at > org.geoserver.web.data.store.AbstractCoverageStorePage$1.onSubmit(AbstractCoverageStorePage.java:114) > at > org.apache.wicket.ajax.markup.html.form.AjaxSubmitLink$1.onSubmit(AjaxSubmitLink.java:94) > at > org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:128) > at > org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:163) > at > org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:297) > at > org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:104) > at > org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91) > at > org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1239) > at org.apache.wicket.RequestCycle.step(RequestCycle.java:1316) > at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1418) > at org.apache.wicket.RequestCycle.request(RequestCycle.java:532) > at > org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:356) > at > org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:145) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) > at > org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:158) > at > org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) > at > org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48) > at > org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875) > at > org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809) > at > org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571) > at > org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) > at > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) > at > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093) > at > org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108) > at > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) > at > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265) > at > org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107) > at > org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72) > at > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > at > org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124) > at > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > at > org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) > at > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > at > org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) > at > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > at > org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81) > at > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > at > org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) > at > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > at > org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110) > at > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > at > org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) > at > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) > at > org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) > at > org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) > at > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) > at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:73) > at > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) > at > org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183) > at > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) > at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41) > at > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) > at > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) > at > org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) > at > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) > at > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726) > at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) > at > org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) > at > org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) > at > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) > at org.mortbay.jetty.Server.handle(Server.java:324) > at > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) > at > org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842) > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648) > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) > at > org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) > at > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450) > Caused by: java.lang.Exception: Unable to acquire a reader for this coverage > with format: ImageMosaicJDBC > at > org.geoserver.catalog.CatalogBuilder.buildCoverage(CatalogBuilder.java:577) > at > org.geoserver.web.data.layer.NewLayerPageProvider.getItems(NewLayerPageProvider.java:72) > ... 82 more > 2010-12-03 09:15:25,921 INFO [geoserver.catalog] - Disposing grid coverage > reader 'osm' > 2010-12-03 09:15:25,921 WARN [geoserver.catalog] - Error occured disposing > coverage reader 'osm' > > I've tried all of the instruction in that tutorial, and already googling > about my error, and I found another who have the same issue, but he already > found the error about that namespace. But I think mine wasn't wrong. Since > it came from the tutorial D: > > Can someone enlighten me? > > Regards, B_S > -- > View this message in context: > http://old.nabble.com/Another-Error-in-Unable-to-acquire-a-reader-for-this-coverage-with-format%3A-ImageMosaicJDBC-tp30364848p30364848.html > Sent from the GeoServer - User mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! > Tap into the largest installed PC base & get more eyes on your game by > optimizing for Intel(R) Graphics Technology. Get started today with the > Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. > http://p.sf.net/sfu/intelisp-dev2dev > _______________________________________________ > Geoserver-users mailing list > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users