Dear all,
I already wrote a few days ago about problems with the ImageMosaic-store
and the ImagePyramid data store from my office. As I couldn't send any
data there seemed to be no way in solving the problem.
Now, I followed the steps at home (although with a different
environment) and with different data. But also had no success. When I
try to add a ImagePyramid data store I always get the same error: 'This
plugin accepts only File, URL and String pointing to a file'.
My environment at home is:
Ubuntu 10.04
Tomcat 6.024
Geoserver 2.1 RC3
I used a landsat image and did:
gdal_retile.py -v -r bilinear -s_srs EPSG:32632 -levels 2 -ps 512 512
-targetDir py_bonn bonn_32532.tif
Everything worked well and gdalinfo gives correct information, for example:
gdalinfo bonn_32532_01_10.tif
Driver: GTiff/GeoTIFF
Files: bonn_32532_01_10.tif
Size is 512, 512
Coordinate System is:
PROJCS["WGS 84 / UTM zone 32N",
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223563,
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",9],
PARAMETER["scale_factor",0.9996],
PARAMETER["false_easting",500000],
PARAMETER["false_northing",0],
UNIT["metre",1,
AUTHORITY["EPSG","9001"]],
AUTHORITY["EPSG","32632"]]
Origin = (397917.000000000000000,5687431.500000000000000)
Pixel Size = (28.500000000000000,-28.500000000000000)
When I try to add a ImagePyramid data store and point to the directory
with the tiles, the tiles from root are shifted to the directoy '0'. But
no Index-files are generated.
The log file gives the following:
_______________________________________
Caused by: java.lang.IllegalArgumentException: This plugin accepts only
File, URL and String pointing to a file
at
org.geotools.gce.imagepyramid.ImagePyramidReader.<init>(ImagePyramidReader.java:180)
at
org.geotools.gce.imagepyramid.ImagePyramidFormat.getReader(ImagePyramidFormat.java:294)
at
org.geotools.gce.imagepyramid.ImagePyramidFormat.getReader(ImagePyramidFormat.java:54)
at
org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:972)
at
org.geoserver.catalog.CatalogBuilder.buildCoverage(CatalogBuilder.java:623)
at
org.geoserver.web.data.layer.NewLayerPageProvider.getItems(NewLayerPageProvider.java:82)
... 161 more
2011-03-24 20:45:07,047 DEBUG [org.geoserver.config] - Removing coverage
store py_bonn
2011-03-24 20:47:02,518 DEBUG [org.geoserver.filters] - filtering
http://localhost:8080/geoserver/web/
2011-03-24 20:47:02,519 DEBUG [org.geoserver.ows.OWSHandlerMapping] -
Looking up handler for [/web/]
2011-03-24 20:47:02,519 DEBUG [org.geoserver.ows.OWSHandlerMapping] -
Looking up handler for [/web/]
2011-03-24 20:47:02,560 DEBUG [org.geoserver.filters] - filtering
http://localhost:8080/geoserver/web/
2011-03-24 20:47:02,560 DEBUG [org.geoserver.ows.OWSHandlerMapping] -
Looking up handler for [/web/]
2011-03-24 20:47:02,560 DEBUG [org.geoserver.ows.OWSHandlerMapping] -
Looking up handler for [/web/]
2011-03-24 20:47:02,566 DEBUG [org.geoserver.web] - cannot convert url:
jar:file:/var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/web-core-2.1-RC3.jar!/org/geoserver/web/css/blueprint/screen.css
to file (URI is not hierarchical), falling back to the inputstream for
polling
2011-03-24 20:47:02,568 DEBUG [org.geoserver.web] - cannot convert url:
jar:file:/var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/web-core-2.1-RC3.jar!/org/geoserver/web/css/blueprint/print.css
to file (URI is not hierarchical), falling back to the inputstream for
polling
2011-03-24 20:47:02,570 DEBUG [org.geoserver.web] - cannot convert url:
jar:file:/var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/web-core-2.1-RC3.jar!/org/geoserver/web/css/geoserver.css
to file (URI is not hierarchical), falling back to the inputstream for
polling
2011-03-24 20:47:02,571 DEBUG [org.geoserver.web] - cannot convert url:
jar:file:/var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/web-core-2.1-RC3.jar!/org/geoserver/web/css/blueprint/ie.css
to file (URI is not hierarchical), falling back to the inputstream for
polling
2011-03-24 20:47:02,573 DEBUG [org.geoserver.web] - cannot convert url:
jar:file:/var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/web-core-2.1-RC3.jar!/org/geoserver/web/css/geoserver-ie.css
to file (URI is not hierarchical), falling back to the inputstream for
polling
2011-03-24 20:47:02,574 DEBUG [org.geoserver.web] - cannot convert url:
jar:file:/var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/web-core-2.1-RC3.jar!/org/geoserver/web/js/jquery-1.2.6.min.js
to file (URI is not hierarchical), falling back to the inputstream for
polling
2011-03-24 20:47:02,576 DEBUG [org.geoserver.web] - cannot convert url:
jar:file:/var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/web-core-2.1-RC3.jar!/org/geoserver/web/js/jquery.inline-info.js
to file (URI is not hierarchical), falling back to the inputstream for
polling
________________________________________-
At my office the same happens, the environment is: Geoserver 2.1, Tomcat
5.5.25, Centos
I really would like to get this going but hav no ideas anymore. I read a
lot and followed the tutorials...Would be great if someone could help
me. I could make the images available, although it won't be a too fast
connection.
Thank you,
Torsten
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users