[Gfoss] Errore WPS PCN su QGIS

Paolo Cavallini cavallini a faunalia.it
Ven 25 Set 2015 12:36:43 CEST


Salve.
Cerco per l'ennesima volta di usare il servizio WPS del PCN, ma non ho
felicita'. Qualcuno ci e' mai riuscito? Sapete che si possa parlare con
qualcuno per debuggarlo?
Sono l'unico che vorrebbe vederlo funzonante?
Saluti, e grazie.
===
<?xml version='1.0' encoding='UTF-8'?>
<wps:ProcessDescriptions xmlns:wps="http://www.opengis.net/wps/1.0.0"
xmlns:ows="http://www.opengis.net/ows/1.1"
xmlns:ogc="http://www.opengis.net/ogc"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" service="WPS"
version="1.0.0" xml:lang="en"
xsi:schemaLocation="http://www.opengis.net/wps/1.0.0
http://schemas.opengis.net/wps/1.0.0/wpsDescribeProcess_response.xsd">
  <ProcessDescription wps:processVersion="1.0.0" storeSupported="false"
statusSupported="false">
    <ows:Identifier>TransformCoordinates</ows:Identifier>
    <ows:Title>Servizio di Trasformazione di Coordinate - WCTS</ows:Title>
    <ows:Abstract>Il servizio di trasformazione di coordinate (WCTS, Web
Coordinate Transformation Service) è uno dei servizi di trasformazione
geometrica previsti dall’implementazione della direttiva 2007/2/CE
INSPIRE. Il servizio, messo a disposizione dal Geoportale Nazionale,
consente a tutti gli utenti di eseguire trasformazioni di coordinate
sull’intero territorio italiano impiegando i grigliati rilasciati
dall’Istituto Geografico Militare Italiano – IGM. Il servizio è basato
sul documento "Draft Technical Guidance for INSPIRE Coordinate
Transformation Services" versione 2.0 rilasciato il
07-09-2009.</ows:Abstract>

<wps:Profile>urn:ogc:wps:1.0.0:INSPIRE:Transform­Coordinates:1.0</wps:Profile>
    <DataInputs>
      <Input minOccurs="0" maxOccurs="1">
        <ows:Identifier>SourceCRS</ows:Identifier>
        <ows:Title>Sistema di riferimento in ingresso</ows:Title>
        <ows:Abstract>Indicazioni sul sistema di riferimento dei dati da
trasformare.</ows:Abstract>
        <LiteralData>
          <ows:DataType
ows:reference="http://www.w3.org/TR/xmlschema-2/#anyURI">anyURI</ows:DataType>
          <ows:AllowedValues>
            <ows:Value>ED50</ows:Value>
            <ows:Value>ED50 / UTM zona 32N</ows:Value>
            <ows:Value>ED50 / UTM zona 33N</ows:Value>
            <ows:Value>ETRS89-ETRF2000</ows:Value>
            <ows:Value>ETRS89-ETRF2000 / UTM zona 32N</ows:Value>
            <ows:Value>ETRS89-ETRF2000 / UTM zona 33N</ows:Value>
            <ows:Value>ETRS89-ETRF89</ows:Value>
            <ows:Value>ETRS89-ETRF89 / UTM zona 32N</ows:Value>
            <ows:Value>ETRS89-ETRF89 / UTM zona 33N</ows:Value>
            <ows:Value>Roma 1940</ows:Value>
            <ows:Value>Roma 1940 / Italia zona 1</ows:Value>
            <ows:Value>Roma 1940 / Italia zona 2</ows:Value>
            <ows:Value>urn:ogc:def:crs:EPSG:6.12:3003</ows:Value>
            <ows:Value>urn:ogc:def:crs:EPSG:6.12:3004</ows:Value>
            <ows:Value>urn:ogc:def:crs:EPSG:6.12:4230</ows:Value>
            <ows:Value>urn:ogc:def:crs:EPSG:6.12:4258</ows:Value>
            <ows:Value>urn:ogc:def:crs:EPSG:6.12:4265</ows:Value>
            <ows:Value>urn:ogc:def:crs:EPSG:6.12:4326</ows:Value>
            <ows:Value>urn:ogc:def:crs:EPSG:6.12:23032</ows:Value>
            <ows:Value>urn:ogc:def:crs:EPSG:6.12:23033</ows:Value>
            <ows:Value>urn:ogc:def:crs:EPSG:6.12:25832</ows:Value>
            <ows:Value>urn:ogc:def:crs:EPSG:6.12:25833</ows:Value>
            <ows:Value>urn:ogc:def:crs:EPSG:6.12:32632</ows:Value>
            <ows:Value>urn:ogc:def:crs:EPSG:6.12:32633</ows:Value>
          </ows:AllowedValues>
          <DefaultValue>urn:ogc:def:crs:EPSG:6.12:4258</DefaultValue>
        </LiteralData>
      </Input>
      <Input minOccurs="0" maxOccurs="1">
        <ows:Identifier>TargetCRS</ows:Identifier>
        <ows:Title>Sistema di riferimento in uscita</ows:Title>
        <ows:Abstract>Indicazioni sul sistema di riferimento dei dati
trasformati.</ows:Abstract>
        <LiteralData>
          <ows:DataType
ows:reference="http://www.w3.org/TR/xmlschema-2/#anyURI">anyURI</ows:DataType>
          <ows:AllowedValues>
            <ows:Value>ED50</ows:Value>
            <ows:Value>ED50 / UTM zona 32N</ows:Value>
            <ows:Value>ED50 / UTM zona 33N</ows:Value>
            <ows:Value>ETRS89-ETRF2000</ows:Value>
            <ows:Value>ETRS89-ETRF2000 / UTM zona 32N</ows:Value>
            <ows:Value>ETRS89-ETRF2000 / UTM zona 33N</ows:Value>
            <ows:Value>ETRS89-ETRF89</ows:Value>
            <ows:Value>ETRS89-ETRF89 / UTM zona 32N</ows:Value>
            <ows:Value>ETRS89-ETRF89 / UTM zona 33N</ows:Value>
            <ows:Value>Roma 1940</ows:Value>
            <ows:Value>Roma 1940 / Italia zona 1</ows:Value>
            <ows:Value>Roma 1940 / Italia zona 2</ows:Value>
            <ows:Value>urn:ogc:def:crs:EPSG:6.12:3003</ows:Value>
            <ows:Value>urn:ogc:def:crs:EPSG:6.12:3004</ows:Value>
            <ows:Value>urn:ogc:def:crs:EPSG:6.12:4230</ows:Value>
            <ows:Value>urn:ogc:def:crs:EPSG:6.12:4258</ows:Value>
            <ows:Value>urn:ogc:def:crs:EPSG:6.12:4265</ows:Value>
            <ows:Value>urn:ogc:def:crs:EPSG:6.12:4326</ows:Value>
            <ows:Value>urn:ogc:def:crs:EPSG:6.12:23032</ows:Value>
            <ows:Value>urn:ogc:def:crs:EPSG:6.12:23033</ows:Value>
            <ows:Value>urn:ogc:def:crs:EPSG:6.12:25832</ows:Value>
            <ows:Value>urn:ogc:def:crs:EPSG:6.12:25833</ows:Value>
            <ows:Value>urn:ogc:def:crs:EPSG:6.12:32632</ows:Value>
            <ows:Value>urn:ogc:def:crs:EPSG:6.12:32633</ows:Value>
          </ows:AllowedValues>
          <DefaultValue>urn:ogc:def:crs:EPSG:6.12:4258</DefaultValue>
        </LiteralData>
      </Input>
      <Input minOccurs="0" maxOccurs="1">
        <ows:Identifier>TestTransformation</ows:Identifier>
        <ows:Title>Modo dell'operazione</ows:Title>
        <ows:Abstract>Indicazione sulla modalità di esecuzione
dell'operazione: se il parametro "TestTransformation" è impostato a
'false' è eseguita la trasformazione altrimenti, se il parametro è
impostato a 'true', l'operazione è solo testata.</ows:Abstract>
        <LiteralData>
          <ows:DataType
ows:reference="http://www.w3.org/TR/xmlschema-2/#boolean">boolean</ows:DataType>
          <ows:AllowedValues>
            <ows:Value>true</ows:Value>
            <ows:Value>false</ows:Value>
          </ows:AllowedValues>
          <DefaultValue>false</DefaultValue>
        </LiteralData>
      </Input>
      <Input minOccurs="1" maxOccurs="1">
        <ows:Identifier>InputData</ows:Identifier>
        <ows:Title>Dataset in ingresso in formato GML</ows:Title>
        <ows:Abstract>Dataset in ingresso in formato GML conforme allo
standard OGC GML Simple Feature (SF).</ows:Abstract>
        <ComplexData maximumMegabytes="5">
          <Default>
            <Format>
              <MimeType>text/xml; subtype=gml/3.1.1</MimeType>
              <Encoding>UTF-8</Encoding>

<Schema>http://schemas.opengis.net/gml/3.1.1/base/gml.xsd</Schema>
            </Format>
          </Default>
          <Supported>
            <Format>
              <MimeType>text/xml; subtype=gml/3.1.1</MimeType>
              <Encoding>UTF-8</Encoding>

<Schema>http://schemas.opengis.net/gml/3.1.1/base/gml.xsd</Schema>
            </Format>
            <Format>
              <MimeType>text/xml; subtype=gml/2.1.2</MimeType>
              <Encoding>UTF-8</Encoding>

<Schema>http://schemas.opengis.net/gml/2.1.2/geometry.xsd</Schema>
            </Format>
            <Format>
              <MimeType>text/xml; subtype=gml/3.0.1</MimeType>
              <Encoding>UTF-8</Encoding>

<Schema>http://schemas.opengis.net/gml/3.0.1/base/gml.xsd</Schema>
            </Format>
            <Format>
              <MimeType>text/xml; subtype=gml/3.2.1</MimeType>
              <Encoding>UTF-8</Encoding>
              <Schema>http://schemas.opengis.net/gml/3.2.1/gml.xsd</Schema>
            </Format>
          </Supported>
        </ComplexData>
      </Input>
    </DataInputs>
    <ProcessOutputs>
      <Output>
        <ows:Identifier>TransformedData</ows:Identifier>
        <ows:Title>Dataset trasformato</ows:Title>
        <ows:Abstract>Dati in formato GML rappresentanti il dataset
risultante dalla trasformazione.</ows:Abstract>
        <ComplexOutput>
          <Default>
            <Format>
              <MimeType>text/xml; subtype=gml/3.1.1</MimeType>
              <Encoding>UTF-8</Encoding>

<Schema>http://schemas.opengis.net/gml/3.1.1/base/gml.xsd</Schema>
            </Format>
          </Default>
          <Supported>
            <Format>
              <MimeType>text/xml; subtype=gml/3.1.1</MimeType>
              <Encoding>UTF-8</Encoding>

<Schema>http://schemas.opengis.net/gml/3.1.1/base/gml.xsd</Schema>
            </Format>
            <Format>
              <MimeType>text/xml; subtype=gml/2.1.2</MimeType>
              <Encoding>UTF-8</Encoding>

<Schema>http://schemas.opengis.net/gml/2.1.2/geometry.xsd</Schema>
            </Format>
            <Format>
              <MimeType>text/xml; subtype=gml/3.0.1</MimeType>
              <Encoding>UTF-8</Encoding>

<Schema>http://schemas.opengis.net/gml/3.0.1/base/gml.xsd</Schema>
            </Format>
            <Format>
              <MimeType>text/xml; subtype=gml/3.2.1</MimeType>
              <Encoding>UTF-8</Encoding>
              <Schema>http://schemas.opengis.net/gml/3.2.1/gml.xsd</Schema>
            </Format>
          </Supported>
        </ComplexOutput>
      </Output>
    </ProcessOutputs>
  </ProcessDescription>
</wps:ProcessDescriptions>
Post URL=PyQt4.QtCore.QUrl(u'http://wms.pcn.minambiente.it/wps?')
<?xml version='1.0' encoding='UTF-8'?>
<ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows/1.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/ows/1.1
http://schemas.opengis.net/ows/1.1.0/owsExceptionReport.xsd"
version="1.1.0">
  <ows:Exception exceptionCode="InvalidRequest">
    <ows:ExceptionText>com.ctc.wstx.exc.WstxUnexpectedCharException:
Unexpected character 'e' (code 101) excepted space, or '>' or "/>"&#xd;
 at [row,col,system-id]: [8,115,"HTTP Post request from
95.253.123.217:62606"]</ows:ExceptionText>
  </ows:Exception>
</ows:ExceptionReport>


-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html


Maggiori informazioni sulla lista Gfoss