I am trying to add a number (68) of TIF files which are Ordnance Survey 1 to
25 tiles to GeoServer.
I am getting an error /"Could not list layers for this store, an error
occurred retrieving them: java.lang.IllegalArgumentException: The provided
SimpleFeatureCollection or empty, it's impossible to create an index!"/
In the directory where the TIF files are I have;
68 *.tif files,
68 *.tfw files,
68 *.prj files,
SH.dbf, SH.prj, SH.properties, SH.qix, SH.shp, SH.shx
Doing a gdalinfo on one fo the TIF files gives me;
-----------------
Driver: GTiff/GeoTIFF
Files: SH66.tif
SH66.tfw
Size is 4000, 4000
Coordinate System is:
PROJCS["OSGB 1936 / British National Grid",
GEOGCS["OSGB 1936",
DATUM["OSGB_1936",
SPHEROID["Airy 1830",6377563.396,299.3249646000044,
AUTHORITY["EPSG","7001"]],
TOWGS84[375,-111,431,0,0,0,0],
AUTHORITY["EPSG","6277"]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433],
AUTHORITY["EPSG","4277"]],
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",49],
PARAMETER["central_meridian",-2],
PARAMETER["scale_factor",0.9996012717],
PARAMETER["false_easting",400000],
PARAMETER["false_northing",-100000],
UNIT["metre",1,
AUTHORITY["EPSG","9001"]],
AUTHORITY["EPSG","27700"]]
Origin = (260000.000000000000000,370000.000000000000000)
Pixel Size = (2.500000000000000,-2.500000000000000)
Metadata:
AREA_OR_POINT=Area
TIFFTAG_COPYRIGHT=ORDNANCE SURVEY CROWN COPYRIGHT 2006
TIFFTAG_DATETIME=2006:09:12 19:00:51
TIFFTAG_IMAGEDESCRIPTION=1:25000 TILE SH66
TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
TIFFTAG_XRESOLUTION=254
TIFFTAG_YRESOLUTION=254
Image Structure Metadata:
INTERLEAVE=BAND
Corner Coordinates:
Upper Left ( 260000.000, 370000.000)
Lower Left ( 260000.000, 360000.000)
Upper Right ( 270000.000, 370000.000)
Lower Right ( 270000.000, 360000.000)
Center ( 265000.000, 365000.000)
Band 1 Block=4000x2 Type=Byte, ColorInterp=Palette
Color Table (RGB with 256 entries)
0: 89,72,73,255
1: 122,104,105,255
.....
253: 24,24,24,255
254: 8,8,8,255
255: 255,255,255,255
-------------------------
This is GeoServer 2.1.3 NOT running under Toomcat on a Mac.
Path to the tif files is /Volumes/3Tb/Data/OrdnanceSurvey/1to25Raster/sh/SH
In the log shown in the dialog box it says
-------------
BBOXFilterExtractor::extractBasicProperties(): passed typename is null,
using: SH
Skipping granule SimpleFeatureImpl:SH=[SimpleFeatureImpl.Attribute:
the_geom<MultiPolygon id=SH.1>=MULTIPOLYGON (((210000 330000, 220000 330000,
220000 320000, 210000 320000, 210000 330000))), SimpleFeatureImpl.Attribute:
location<location id=SH.1>=SH12.tif]
....... one line for each TIF file
Getting list of coverages for saved store
file:/Volumes/3Tb/Data/OrdnanceSurvey/1to25Raster/sh/SH/
-------------
Can anybody point me at where I should be looking to fix this?
--
View this message in context:
http://osgeo-org.1560.n6.nabble.com/Ordnance-Survey-Open-data-TIF-files-tp4514304p4514304.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users