Hi all,
I have problems with calls rest of GeoServer.
I would like to post some geotiff. In my bash script I compose the string and then run it with exec $nameVariable
The execution of this command causes this error in GeoServer:
org.geoserver.rest.RestletException*:* java.net.MalformedURLException*: no* protocol: "file
/ / home / โฆ
The same statement if I do an echo in the terminal and then run it, everything works fine
maybe there are problems with double quotes?
This is the instruction:
instruction = 'curl-v-uโ $ *8 ',โ $ 9 '**-XPUT-H "Content-type: text / plain**"-d* "file
/**โ $ 7 $ baseName โ**โ http:// '$ 4โ**: 8080 / GeoServer / rest / workspaces / โ**$ {10}โ / coveragestores / โ**$ {11}โ / external.geotiff โ
exec *$*instruction
Note: I also tried this
instruction = โcurl-v-uโ $ 8 โ,โ $ 9 โ-XPUT-H "Content-type: text / plain"-d "file
/โ $ 7 $ baseName 'โ http:// โ$ 4โ: 8080 / GeoServer / rest / workspaces / โ$ {10}โ / coveragestores / โ$ {11}โ / external.geotiff "
Regards.
Please,
send the full bash script.
ยทยทยท
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.
Ing. Alessio Fabiani
@alfa7691
Founder/Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 331 6233686
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
On Wed, Jun 25, 2014 at 12:21 PM, sanguinela <sanguinela@anonymised.com> wrote:
Hi all,
I have problems with calls rest of GeoServer.
I would like to post some geotiff. In my bash script I compose the string and then run it with exec $nameVariable
The execution of this command causes this error in GeoServer:
org.geoserver.rest.RestletException*:* java.net.MalformedURLException*: no* protocol: "file
/ / home / โฆ
The same statement if I do an echo in the terminal and then run it, everything works fine
maybe there are problems with double quotes?
This is the instruction:
instruction = 'curl-v-uโ $ *8 ',โ $ 9 '**-XPUT-H "Content-type: text / plain**"-d* "file
/**โ $ 7 $ baseName โ**โ http:// '$ 4โ**: 8080 / GeoServer / rest / workspaces / โ**$ {10}โ / coveragestores / โ**$ {11}โ / external.geotiff โ
exec *$*instruction
Note: I also tried this
instruction = โcurl-v-uโ $ 8 โ,โ $ 9 โ-XPUT-H "Content-type: text / plain"-d "file
/โ $ 7 $ baseName 'โ http:// โ$ 4โ: 8080 / GeoServer / rest / workspaces / โ$ {10}โ / coveragestores / โ$ {11}โ / external.geotiff "
Regards.
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users