[Pywps-devel] Problem with using a shp file as a ComplexInput
jachym.cepicky at gmail.com
Mon Feb 11 07:27:27 CET 2008
Myunghwa Hwang píše v Ne 10. 02. 2008 v 20:38 -0700:
> Hello, list!
> I've been trying to implement a process that uses a shp file and
> extracts its geometric characteristics.
> Input files can be located over the network, so one of input
> parameters is URL to the file.
> First I used LiteralInput type for this URL, and it was successful.
> Now I want to use ComplexInput for the URL.
> I set up the input parameter like the following:
> Title = "Input map data location",
> Formats = ["application/x-shp"])
> My execute part needs the location where this shp file would be copied
> to my server.
> So I used os.getcwd() + "/inputMap.shp" as the path to the temporary
> file copied from the original URL.
> But I cannot see any new file creation under my temp directory, and
> the process raises the following error:
> <ExecuteResponse version="0.4.0" xsi:schemaLocation="http://www.opengeospatial.net/wps
> <ows:ExceptionReport verion="1.0">
> <ows:Exception exceptionCode="NoAplicableCode">
> <ows:ExceptionText>long int too large to convert to int</
> What should I do to solve my problem?
> Any tips welcomed.
> from Myunghwa Hwang
do you have access to apache logs? There should be more about where the
Anyway: Shapefile is a problem, because of it consists from (at least) 3
files: shp, dbf, shx. You would have to setup either 3 ComplexInputs or
one for zipped file.
> Myunghwa Hwang
> School of Geographical Sciences
> GeoDa Center for Geospatial Analysis and Computation
> Arizona State University
> mhwang4 at gmail.com or mhwang3 at asu.edu
> Pywps-devel mailing list
> Pywps-devel at wald.intevation.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?=
Url : http://lists.wald.intevation.org/pipermail/pywps-devel/attachments/20080211/12f6ae41/attachment.pgp
More information about the Pywps-devel