1

I'm trying to apply WPS for local shapefile. Is it possible to process local shapefile directly as a input data?

1 Answer 1

2

I don't think it's possible to use a shapefile as-is.

If the file is local to GeoServer (you tagged it, I assume that's what you are using), you can try to use a "file:///path/to/zipped/shapefile.zip" reference.

If the file is remote, you will have to zip it and add it to the request as a base64 encoded payload, or reference to it via HTTP (if you can zip it, and make it available on a web server that GeoServer can download from).

2
  • actually "local" means remote to geoserver. I'm trying to process local shape using remote geoserver.
    – Kims
    Jun 20, 2016 at 10:42
  • Thanks, Andrea! it would be great if you can give me some hint to reference remote shape zip via HTTP.
    – Kims
    Jun 23, 2016 at 7:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.