Having fallen foul of this a number of times before, you will need to preprocess the tiles with something like GDAL in order to convert them into geotiffs with the GeoTiff metadata added - primarily the projection system.
There may be typos, so please check the GDAL pages for syntax, but it will be something like this: for %%f in (../250kcol/*.TIF) do gdal_translate -of GTiff -a_srs "EPSG:27700" -co "COMPRESS=LZW" -co "TFW=YES" -co "TILED=YES" %%f e:\newrasters\250kcol\%%f HTH Rob On 27 September 2010 13:12, Santiago Ginzburg < [email protected]> wrote: > Hi there, > > > > I am sending an issue that I could see in many mail lists, but I failed to > find a concrete solution. > > > > > > I download the uk-1to250k raster files from ordnance survey. (1:250 000 > Scale Colour Raster > https://www.ordnancesurvey.co.uk/opendatadownload/products.html) > > > > > > I Have my geoserver running on tomcat on win 7 machine. (I also have the > same error with my linux box). > > > > > > I have my geotiffs (.tif files) together with .tfw files. (56 of each) > > > > I included an .prj for each file (I read it on many mailing list and forums > that I should have the projection type file included) this is (EPGS:27700) > (add 56 .prj) > > > > > > Copy files on the data/os ( path from tomcat webapps: > geoserver\data\data\os) I also have tried from (coverages/os) > > > > I name the ds name : os250k > > > > url= file:data/os > > > > > > I get this error > > > > Could not list layers for this store, an error occurred retrieving them: > Unable to acquire a reader for this coverage with format: ImageMosaic > > > > > > The log throws this error, here is a short version > > > > 27 Sep 13:03:37 WARN [geoserver.web] - NewLayerPage does not have a title > set > > 27 Sep 13:03:37 WARN [imagemosaic.ImageMosaicFormat] - This plugin accepts > File, URL or String. The string may describe a File or > > an URL > > org.geotools.data.DataSourceException: This plugin accepts File, URL or > String. The string may describe a File or an URL > > at > org.geotools.gce.imagemosaic.ImageMosaicReader.<init>(ImageMosaicReader.java:173) > > at > org.geotools.gce.imagemosaic.ImageMosaicFormat.getReader(ImageMosaicFormat.java:272) > > at > org.geotools.gce.imagemosaic.ImageMosaicFormat.getReader(ImageMosaicFormat.java:87) > > ... > > > > 27 Sep 13:03:37 INFO [geoserver.web] - Getting list of coverages for saved > store file:data/os > > java.lang.RuntimeException: Could not list layers for this store, an error > occurred retrieving them: Unable to acquire a reader fo > > r this coverage with format: ImageMosaic > > 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.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1555) > > at java.lang.Thread.run(Thread.java:619) > > Caused by: java.lang.Exception: Unable to acquire a reader for this > coverage with format: ImageMosaic > > at > org.geoserver.catalog.CatalogBuilder.buildCoverage(CatalogBuilder.java:577) > > at > org.geoserver.web.data.layer.NewLayerPageProvider.getItems(NewLayerPageProvider.java:72) > > ... 81 more > > 27 Sep 13:03:38 INFO [geoserver.catalog] - Disposing grid coverage reader > 'os1to250k' > > 27 Sep 13:03:38 WARN [geoserver.catalog] - Error occured disposing coverage > reader 'os1to250k' > > > > > > > > I would appreciate any help... > > > > > > > > > Intelligent Addressing Ltd. Registered Office: 1 Adam Street, London WC2N > 6DD Reg. in England No.3863861 VAT No.GB 802258946 > > This message has been scanned for viruses by BlackSpider > MailControl<http://www.blackspider.com/> > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Geoserver-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users > >
------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
