I was just curious if there was any progress or effort made in the
ImageIO-ext project to provide support for RPF a.toc files. I would not mind
taking a crack at adding support myself if someone could give a little
guidance on the best or most proper way of going about including it into the
ImageIO-ext project.

Regards,
Wally Atkins


Daniele Romagnoli wrote:
> 
> Rick,
> The GDAL Library provides a specific driver for Raster Product Format/RPF
> (a.toc) files.
> However, the GDAL based ImageIO-ext project (the library on which
> geotools->geoserver are based) doesn't actually provide support for it.
> (although it could be added with some days of work)
> 
> Can you give me your test-data so I can do some tests on it with the GDAL
> library?
> 
> Regards,
> Daniele
> 
> 
> On Thu, Jan 8, 2009 at 10:47 PM, Rick McAdams
> <[email protected]>wrote:
> 
>>
>> Hi,
>>
>> Does anyone know if GeoServer supports CADRG data as RPF.  I tried to use
>> the NITF coverage format (from the GDAL Plugin) and load the A.TOC file
>> into
>> the CoverageStore, but GeoServer throws an error because it believes
>> there
>> should be image data in that file (which there isn't because the file
>> just
>> describes the data underneath it's directory structure).  I know the NITF
>> support works on my server because I was able to load a sample NITF file
>> (one that actually has image data in it).  If anyone has found a way to
>> load
>> the data in RPF format I would greatly appreciate any help.
>>
>> Thanks,
>> Rick
>>
>>
>>
>> P.S.  Here is the stack trace when I try to load the A.TOC file. 
>> Probably
>> won't help but thought I would throw it out there if any found it useful.
>>
>> Warning 1: The file
>> /home/mcadamsrb/temp/testdata/cdrgxgncjncs_9/rpf/A.TOC
>> appears to be an NITF file, but no image
>> blocks were found on it.
>> ERROR 5: GDALDataset::GetRasterBand(1) - Illegal band #
>>
>> 08 Jan 16:10:35 WARN [action.RequestProcessor] - Unhandled Exception
>> thrown:
>> class java.lang.NullPointerException
>> 21518876 [btpool0-4] ERROR org.mortbay.log - Nested in
>> javax.servlet.ServletException: java.lang.NullPointerException:
>> java.lang.NullPointerException
>>        at
>>
>> it.geosolutions.imageio.gdalframework.GDALCommonIIOImageMetadata.setMembers(GDALCommonIIOImageMetadata.java:349)
>>        at
>>
>> it.geosolutions.imageio.gdalframework.GDALCommonIIOImageMetadata.<init>(GDALCommonIIOImageMetadata.java:264)
>>        at
>>
>> it.geosolutions.imageio.gdalframework.GDALCommonIIOImageMetadata.<init>(GDALCommonIIOImageMetadata.java:288)
>>        at
>>
>> it.geosolutions.imageio.gdalframework.GDALCommonIIOImageMetadata.<init>(GDALCommonIIOImageMetadata.java:208)
>>        at
>>
>> it.geosolutions.imageio.gdalframework.GDALCommonIIOImageMetadata.<init>(GDALCommonIIOImageMetadata.java:186)
>>        at
>>
>> it.geosolutions.imageio.gdalframework.GDALImageReader.createDatasetMetadata(GDALImageReader.java:295)
>>        at
>>
>> it.geosolutions.imageio.gdalframework.GDALImageReader.initialize(GDALImageReader.java:260)
>>        at
>>
>> it.geosolutions.imageio.gdalframework.GDALImageReader.checkImageIndex(GDALImageReader.java:176)
>>        at
>>
>> it.geosolutions.imageio.gdalframework.GDALImageReader.getDatasetMetadata(GDALImageReader.java:119)
>>        at
>>
>> it.geosolutions.imageio.gdalframework.GDALImageReader.getImageMetadata(GDALImageReader.java:1280)
>>        at
>>
>> org.geotools.coverageio.gdal.BaseGDALGridCoverage2DReader.setCoverageProperties(BaseGDALGridCoverage2DReader.java:97)
>>        at
>>
>> org.geotools.coverageio.BaseGridCoverage2DReader.<init>(BaseGridCoverage2DReader.java:200)
>>        at
>>
>> org.geotools.coverageio.gdal.BaseGDALGridCoverage2DReader.<init>(BaseGDALGridCoverage2DReader.java:80)
>>        at
>> org.geotools.coverageio.gdal.nitf.NITFReader.<init>(NITFReader.java:64)
>>        at
>> org.geotools.coverageio.gdal.nitf.NITFFormat.getReader(NITFFormat.java:93)
>>        at
>>
>> org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:434)
>>        at
>>
>> org.vfny.geoserver.global.CoverageStoreInfo.getReader(CoverageStoreInfo.java:339)
>>        at
>>
>> org.vfny.geoserver.action.data.DataCoveragesNewAction.newCoverageConfig(DataCoveragesNewAction.java:95)
>>        at
>>
>> org.vfny.geoserver.action.data.CoverageStoresEditorAction.execute(CoverageStoresEditorAction.java:90)
>>        at
>> org.vfny.geoserver.action.ConfigAction.execute(ConfigAction.java:101)
>>        at
>>
>> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
>>        at
>>
>> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
>>        at
>> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
>>        at
>> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
>>        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:264)
>>        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:274)
>>        at
>>
>> org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
>>        at
>>
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>>        at
>>
>> org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
>>        at
>>
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>>        at
>>
>> org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
>>        at
>>
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>>        at
>>
>> org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
>>        at
>>
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>>        at
>>
>> org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:217)
>>        at
>>
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>>        at
>> org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:106)
>>        at
>>
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>>        at
>>
>> org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:229)
>>        at
>>
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>>        at
>> org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
>>        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:163)
>>        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)
>>
>> --
>> View this message in context:
>> http://www.nabble.com/RPF-Support-in-GeoServer-tp21361665p21361665.html
>> Sent from the GeoServer - User mailing list archive at Nabble.com.
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Check out the new SourceForge.net Marketplace.
>> It is the best place to buy or sell services for
>> just about anything Open Source.
>> http://p.sf.net/sfu/Xq1LFB
>> _______________________________________________
>> Geoserver-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>>
> 
> 
> -- 
> -------------------------------------------------------
> Eng. Daniele Romagnoli
> Software Engineer
> 
> GeoSolutions S.A.S.
> Via Carignoni 51
> 55041 Camaiore (LU)
> Italy
> 
> phone: +39 0584983027
> fax:     +39 0584983027
> mob:   +39 328 0559267
> 
> 
> http://www.geo-solutions.it
> 
> -------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
> 
> 

-- 
View this message in context: 
http://old.nabble.com/RPF-Support-in-GeoServer-tp21361665p29471658.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to