Ciao Javier, please read below... Regards, Simone Giannecchini ------------------------------------------------------- Ing. Simone Giannecchini GeoSolutions S.A.S. Founder
Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 mob: +39 333 8128928 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/simonegiannecchini http://twitter.com/simogeo ------------------------------------------------------- On Wed, Dec 21, 2011 at 5:12 PM, Javier Maestu <[email protected]> wrote: > Good morning, > > > > I’m trying to define an ImageMosaic from a 4 GeoTiff files. I’m using > GeoServer 2.1.2 in a Linux environment (CentOS). > > If I try to display the individual tiles, using GeoTiff datastore, I can see > each image without problems using GeoServer. > > > > When I try to mosaic them using ImageMosaic plugin, i receive an error like > this: > > > > “Could not list layers for this store, an error occurred retrieving them: > Unable to acquire a reader for this coverage with format: ImageMosaic” > > This might mean that you do not have enough rights to create the shapefile index inside the tiff directory. Please, check if you see a shapefile in the tiff directory at the end of the process, also, please raise the log level to geotools_developer and then look for error in the logs. Long story short, the directory where your files resides must be writable for the geoserver process. > > I’ve read and found some issue in the list and also a bug: > > > > https://jira.codehaus.org/browse/GEOS-4726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#issue-tabs > The bug has been marked as closed as it was not a bug. Anyway this is unrelated to your problem. > > > But it seems that the problem could be from the structure of GeoTIFF files. > In my case, I think I have the correct information in the Coordinate system. > > And I don’t know what can I do to solve the problem. I believe that the problem is the one I pointed out above. Unrelated to this topic, your geotiff files need _absolutely_ to be optimized, you are trying to mosaic relative large geotiff with no tiling and overviews, so the resulting mosaic will be deadly slow. Please, check these slides for some additional info: http://bit.ly/zWDXjr > > > > Somebody have a similar experience and can give me some information, about > how to handle this? > > Thanks in advance. > > > > Javier > > > > Below you can see the gdal_info information of one of my TIFF files > > > > > > Driver: GTiff/GeoTIFF > > Files: 4343_iii_h5sw09.tif > > Size is 920, 772 > > Coordinate System is: > > PROJCS["WGS 84 / UTM zone 17N", > > GEOGCS["WGS 84", > > DATUM["WGS_1984", > > SPHEROID["WGS 84",6378137,298.2572235630016, > > AUTHORITY["EPSG","7030"]], > > AUTHORITY["EPSG","6326"]], > > PRIMEM["Greenwich",0], > > UNIT["degree",0.0174532925199433], > > AUTHORITY["EPSG","4326"]], > > PROJECTION["Transverse_Mercator"], > > PARAMETER["latitude_of_origin",0], > > PARAMETER["central_meridian",-81], > > PARAMETER["scale_factor",0.9996], > > PARAMETER["false_easting",500000], > > PARAMETER["false_northing",0], > > UNIT["metre",1, > > AUTHORITY["EPSG","9001"]], > > AUTHORITY["EPSG","32617"]] > > Origin = (673104.849999999980000,1002149.050000000000000) > > Pixel Size = (3.000000000000000,-3.000000000000000) > > Metadata: > > AREA_OR_POINT=Area > > TIFFTAG_SOFTWARE=IMAGINE TIFF Support > > Copyright 1991 - 1999 by ERDAS, Inc. All Rights Reserved > > @(#)$RCSfile: etif.c $ $Revision: 1.10.1.9.1.9.2.11 $ $Date: 2004/09/15 > 18:42:01 > > EDT $ > > TIFFTAG_XRESOLUTION=1 > > TIFFTAG_YRESOLUTION=1 > > TIFFTAG_RESOLUTIONUNIT=1 (unitless) > > Image Structure Metadata: > > INTERLEAVE=PIXEL > > Corner Coordinates: > > Upper Left ( 673104.850, 1002149.050) > > Lower Left ( 673104.850, 999833.050) > > Upper Right ( 675864.850, 1002149.050) > > Lower Right ( 675864.850, 999833.050) > > Center ( 674484.850, 1000991.050) > > Band 1 Block=920x2 Type=Byte, ColorInterp=Red > > Min=6.000 Max=255.000 > > Minimum=6.000, Maximum=255.000, Mean=89.809, StdDev=45.135 > > Metadata: > > STATISTICS_MINIMUM=6 > > STATISTICS_MAXIMUM=255 > > STATISTICS_MEAN=89.809150428024 > > STATISTICS_MEDIAN=77 > > STATISTICS_MODE=54 > > STATISTICS_STDDEV=45.135246166378 > > STATISTICS_HISTONUMBINS=256 > > STATISTICS_HISTOMIN=0 > > STATISTICS_HISTOMAX=255 > > LAYER_TYPE=athematic > > > STATISTICS_HISTOBINVALUES=0|0|0|0|0|0|1|0|1|7|2|8|10|21|24|34|57|54|96|108|1 > > 74|235|274|384|485|626|756|973|1179|1469|1687|2121|2629|3121|3620|4086|4627|5139 > > |5587|5944|6614|6695|7100|7491|7772|7981|8391|8649|8852|9065|9373|9496|9659|9548 > > |9799|9665|9650|9440|9362|8954|8882|8615|8540|8115|8140|7792|7678|7626|7437|7292 > > |7130|7022|6945|7004|7064|6909|7074|7020|7171|7030|7044|6915|6654|6560|6441|6268 > > |5992|5594|5400|5215|5027|4856|4814|4777|4569|4403|4236|4083|4027|3922|3820|3785 > > |3666|3590|3475|3423|3346|3347|3305|3246|3293|3126|3052|2985|3057|3087|3002|2948 > > |2931|2910|2879|2749|2817|2764|2653|2767|2849|2643|2684|2616|2478|2507|2565|2501 > > |2544|2550|2562|2553|2453|2484|2518|2509|2594|2460|2574|2597|2522|2533|2488|2516 > > |2478|2461|2427|2420|2373|2387|2377|2402|2319|2224|2337|2267|2157|2230|2043|2078 > > |1969|1931|1909|1896|1794|1730|1646|1603|1468|1484|1404|1308|1306|1188|1152|1091 > > |1075|1046|874|850|848|768|771|704|752|693|692|646|618|638|603|585|579|468|480|4 > > 81|466|468|435|425|390|386|329|349|304|279|316|286|271|255|286|253|239|216|234|2 > > 20|232|202|203|216|191|198|203|195|185|145|155|141|146|177|170|163|157|158|159|1 > > 39|162|142|141|153|175|159|194|220|294|292|379|568|745|943| > > Band 2 Block=920x2 Type=Byte, ColorInterp=Green > > Min=4.000 Max=255.000 > > Minimum=4.000, Maximum=255.000, Mean=79.069, StdDev=42.108 > > Metadata: > > STATISTICS_MINIMUM=4 > > STATISTICS_MAXIMUM=255 > > STATISTICS_MEAN=79.06911888939 > > STATISTICS_MEDIAN=68 > > STATISTICS_MODE=65 > > STATISTICS_STDDEV=42.107728579555 > > STATISTICS_HISTONUMBINS=256 > > STATISTICS_HISTOMIN=0 > > STATISTICS_HISTOMAX=255 > > LAYER_TYPE=athematic > > > STATISTICS_HISTOBINVALUES=0|0|0|0|1|2|11|19|26|43|74|101|136|159|217|255|294 > > |372|425|493|621|809|930|1239|1481|1763|2221|2807|3483|4089|4661|5161|5721|5811| > > 5996|6053|6381|6391|6610|6752|6890|7049|7321|7487|7617|8030|8253|8316|8642|9011| > > 9144|9492|9881|9966|10405|10510|10578|10885|10767|11204|11350|11281|11211|11344| > > 11462|11615|11307|11289|10980|10648|10388|10136|9833|9224|8946|8329|7983|7676|73 > > 39|6879|6652|6325|5765|5720|5557|5371|5114|4989|4789|4627|4550|4325|3959|3997|36 > > 97|3650|3438|3380|3216|3198|3008|2966|2858|2694|2670|2586|2520|2547|2445|2365|22 > > 22|2271|2183|2272|2103|2032|2018|1958|1849|1827|1875|1851|1708|1713|1735|1678|16 > > 51|1668|1624|1594|1601|1589|1565|1585|1444|1597|1526|1473|1503|1540|1452|1507|15 > > 35|1481|1481|1503|1502|1513|1493|1487|1496|1498|1494|1442|1427|1408|1429|1316|13 > > 92|1313|1272|1311|1251|1236|1220|1254|1222|1131|1061|1164|1046|1065|1066|945|996 > > |955|920|876|847|816|783|763|699|727|693|656|657|615|565|582|592|526|530|512|506 > > |456|490|448|442|412|413|364|380|327|305|304|287|287|282|270|275|305|225|234|213 > > |209|185|175|190|180|159|206|192|164|169|185|174|175|173|156|156|167|138|133|130 > > |142|157|138|154|129|136|124|155|187|145|175|179|168|190|207|251|361|511|805|973 > > |80| > > Band 3 Block=920x2 Type=Byte, ColorInterp=Blue > > Min=2.000 Max=255.000 > > Minimum=2.000, Maximum=255.000, Mean=70.418, StdDev=44.070 > > Metadata: > > STATISTICS_MINIMUM=2 > > STATISTICS_MAXIMUM=255 > > STATISTICS_MEAN=70.418468679062 > > STATISTICS_MEDIAN=57 > > STATISTICS_MODE=46 > > STATISTICS_STDDEV=44.070376888323 > > STATISTICS_HISTONUMBINS=256 > > STATISTICS_HISTOMIN=0 > > STATISTICS_HISTOMAX=255 > > LAYER_TYPE=athematic > > > STATISTICS_HISTOBINVALUES=0|0|10|49|124|223|321|384|528|626|793|856|1110|121 > > 8|1403|1726|1930|2215|2482|2801|3132|3466|3915|4418|4937|5577|6048|6623|7285|790 > > 6|8283|8619|8934|9266|9512|9691|9880|9961|10273|10340|10554|10848|10715|11040|11 > > 227|11147|11256|10987|11198|10752|10617|10331|10239|10158|9880|9492|9295|8885|88 > > 35|8441|8458|8183|7850|7994|7834|7881|7767|7547|7403|7207|7132|6914|6609|6152|58 > > 69|5656|5370|5218|5047|4833|4686|4404|4219|4045|3884|3685|3601|3485|3430|3309|31 > > 62|3023|2838|2815|2655|2540|2453|2340|2351|2136|2131|2091|2065|2043|1979|1900|18 > > 38|1852|1823|1744|1801|1777|1741|1711|1696|1581|1685|1659|1585|1563|1502|1509|15 > > 79|1556|1508|1498|1526|1487|1510|1437|1383|1432|1453|1437|1441|1418|1453|1375|14 > > 57|1430|1431|1415|1418|1451|1419|1431|1476|1460|1435|1431|1496|1538|1441|1420|13 > > 74|1375|1322|1351|1293|1283|1292|1222|1260|1160|1187|1146|1146|1065|1064|1014|10 > > 60|1006|954|962|945|903|873|815|785|717|667|602|607|591|553|508|522|517|505|470| > > 454|424|422|384|350|400|371|357|349|366|331|296|253|242|239|223|230|236|224|199| > > 195|201|190|170|162|165|151|158|160|168|151|140|142|147|116|132|127|117|123|125| > > 112|114|114|121|127|135|143|131|158|169|142|147|170|142|191|159|176|183|226|214| > > 297|312|362|468|647|801| > > > ------------------------------------------------------------------------------ > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > _______________________________________________ > Geoserver-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users > ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! 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-d2d _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
