Tell me more ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have a huge Geotiff file , and i've tiled it .. I've created the tiles using gdal_retile.py tool , but i'm getting the following error from Geoserver while linking the layer with the tiles folder : Could not list layers for this store, an error occurred retrieving them: This plugin accepts only File, URL and String pointing to a file any suggestion?

share|improve this question
1  
Did you explicitly set the SRS? Showing the gdal_retile line you are executing whould be very useful. – cag Jun 24 '12 at 14:28
1  
You should look into the logs and see if there is a Java stack trace in there around the time you configured the layer? I also agree showing the gdal_retile.py would help, along with a gdalinfo call on one of your files. – Andrea Aime Jul 29 '12 at 9:26

2 Answers

Did you copy the top level imagery into a directory with the name 0 (zero)? After making the tiles you need to do this additional step for it to work on Geoserver.

As described in the on the Geoserver webpages

  • move all tiff files in the root to a newly create directory 0
  • create an image mosaic in all sub-directories (shapefile index plus property file)
  • create the root property file describing the whole pyramid structure
share|improve this answer

You probably need a newer Tomcat.

See http://jira.codehaus.org/browse/GEOS-4062 - for a discussion of what might cause this problem.

share|improve this answer
I tried to run under tomcat 7.0 , same issue happened – Mathboy Mar 27 '12 at 8:21
does the user running tomcat have write permissions to the data folder? – iant Mar 27 '12 at 8:35
Yes , sure .. Also the action seems to be cutting in a step , because once i clicked Add layer , the root tiles moved to a new folder named 0 , so there's an action happening with no successful end – Mathboy Mar 27 '12 at 9:00

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.