We recently had a similar issue utilizing ImageMosaic w/ geotiffs that was 
resolved using the information here:

http://geo-solutions.blogspot.com/2010/05/fix-geotools-and-geoserver-not-able-to.html

Tom Kunicki
Center for Integrated Data Analytics
U.S. Geological Survey
8505 Research Way
Middleton, WI  53562


On Feb 6, 2012, at 9:07 AM, Suresh Hosur wrote:

> 
> Hi... 
> 
> I am trying to add the .tif layer into the geoserver by using the image 
> mosaic. 
> 
> I referred the link: 
> 
> http://docs.geoserver.org/stable/en/user/tutorials/image_mosaic_plugin/imagemosaic.html#tutorial-imagemosaic-extension
> 
> Initially i create the tiles for my .tif file. 
> by using the  command: 
> 
> gdal_retile -co "WORLDFILE=YES" -r bilinear -ps 256 256 -of PNG -levels 3 
> -targetDir D:/tiles D:/sample.tif 
> 
> 
> The tiles are generated properly. 
> 
> I created the .shp file for the sample.tif file using the command: 
> 
> gdaltindex D:\sample\sample.shp D:\sample.tif 
> 
> once it is done the file are generated like: 
> sample.dbf, sample.prj, sample.shp and sample.shx 
> 
> 
> and i created the property file like: 
> Name=sample 
> LocationAttribute=location 
> AbsolutePath=false 
> ExpandToRGB=false 
> Levels=0.518850948,0.518850948 
> Caching=true 
> LevelsNum=1 
> Heterogeneous=false 
> Envelope2D=775186.322,1432802.257 776260.862,1433572.751 
> NumFiles=54 
> 
> here the Levels file is generated automatically is it the correct??? 
> please help me to how to take or check the values of "Levels". 
> 
> "Envelop2D" 
> I took the values of it by the command: 
> 
> gdalinfo D:/sample.tif 
> 
> Once it is done i added all the files into the single directory including the 
> tiles,.shp file and the property file in the geoserver /coverages/sample 
> 
> 
> here sample is the directory i cerated and added all the files. 
> 
> once it is done i started the geoserver. 
> selected the Add Stores -> ImageMosaic - Image mosaicking plugin. 
> 
> Given the data source name. 
> In url: file:/coverages/sample/sample.shp 
> 
> once i enter the submit button it showing the Error like: 
> 
> Could not list layers for this store, an error occurred retrieving them: 
> Unable to acquire a reader for this coverage with format: ImageMosaic 
> 
> Please help  me to come out from this problem....
> 
> 
> -- 
> 
> Regards,
> Suresh Hosur
> 
> ------------------------------------------------------------------------------
> 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



------------------------------------------------------------------------------
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

Reply via email to