Hi,
Last friday I wrote on users mailing list (here is thread: http://sourceforge.net/mailarchive/forum.php?thread_name=DUB108-W369F130D7D908096F8D3BDD1430%40phx.gbl&forum_name=geoserver-users ) and there I was redirected to this mailing list.
I am sorry if this is wrong place to this issue.
Here is my first email (I was testing this also on version 2.1.4 and 2.1.0 - but on Windows 7 - with the same result):
Hi, I am using GeoServer (Version 2.2 Git Revision f5b5c35076b52d02eb9cca3fa3232bc17b5f6d80 Build Date 19-Sep-2012 18:33 GeoTools Version 8.2 (rev 704570474295e339c08d1ca140d884f23a8a03a3)) and I've got workspace with name myTestWorkspace and store with name test and type GeoTIFF. This store has URL connection parameters as follows: file:coverages/test.tif. I would like to download *.tif file by GeoServer REST API. I found in documentation ( [http://docs.geoserver.org/stable/en/user/restconfig/rest-config-api.html#coverage-stores](http://docs.geoserver.org/stable/en/user/restconfig/rest-config-api.html#coverage-stores)) that it is possible using URL /workspaces/<ws>/coveragestores/<cs>/file[.<extension>] So in my case it will be /workspaces/myTestWorkspace/coveragestores/test/file.geotiff(am I right?). But when I paste this URL I've got HTTP status 404. In documentation above is information that in this case (getting 404) are two options: Exceptions: GET for a data store that does not exist -> 404 GET for a data store that is not file based -> 404 My data store exists (if for example I paste/workspaces/myTestWorkspace/coveragestores/test.xml then I get information about store: name, type etc.). But is my data store file based? I thought that if data store has type GeoTIFF, then he is file based - am I right? Any ideas why I cannot download TIFF file? Thanks, Arek This are information about my configuration: Geoserver: Build Information Version 2.2 Git Revision f5b5c35076b52d02eb9cca3fa3232bc17b5f6d80 Build Date 19-Sep-2012 18:33 GeoTools Version 8.2 (rev 704570474295e339c08d1ca140d884f23a8a03a3) ---------------- JAVA: Oracle Corporation: 1.7.0_07 (Java HotSpot(TM) 64-Bit Server VM) ---------------- Native JAI false Native JAI ImageIO false ---------------- OS: Linux centos64 2.6.32-279.el6.x86_64 #1 SMP Fri Jun 22 12:19:21 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux ---------------- Web container: Apache Tomcat/7.0.30
Is this a bug? Am I doing something wrong?
Regards,
Arek