Andrea,

Thanks for the advice and it turns out to be the out dated GetTools jar. So
now it's all working after rebuild. I do have a follow up question though
regarding two of the process offerings called "gt:buffer" and
"gt:BufferFeatureCollection". I assume they all take a WFS GetFeature GML
response as one of the input, so I tried following execute request
(reference and inline GML), but none of them worked. I am always getting
exception.

Do you have clue why this is failing? Or do you have an example to use
GML/WFS as an input parameters?

Thanks,
Yingqi

<?xml version="1.0" encoding="UTF-8"?>
<wps:Execute service="WPS" version="1.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
    xmlns:xlink="http://www.w3.org/1999/xlink";
    xmlns:ows="http://www.opengis.net/ows/1.1";
    xmlns:wps="http://www.opengis.net/wps/1.0.0";
    xsi:schemaLocation="http://www.opengis.net/wps/1.0.0
http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd";>
    <ows:Identifier>gt:BufferFeatureCollection</ows:Identifier>
    <wps:DataInputs>
        <wps:Input>
            <ows:Identifier>features</ows:Identifier>
            <!--
            <wps:Reference
                schema="http://schemas.opengis.net/gml/3.1.1/feature.xsd";
                mimeType="text/xml; subtype=wfs-collection/1.1"
                xlink:href="
http://sazabi:8080/openlayers-trunk/openlayers/trunk+/playground/wps/data/sample.xml"/>

            <wps:Reference
                schema="http://schemas.opengis.net/gml/3.1.1/feature.xsd";
                mimeType="text/xml; subtype=wfs-collection/1.1"
                xlink:href="
http://localhost:8080/geoserver-2.1-snapshot-10282010/ows?service=WFS&version=1.1.0&request=getfeature&typename=it.geosolutions:highways&FeatureId=highways.1
"/>
            -->
            <wps:ComplexData>
                <wfs:FeatureCollection numberOfFeatures="1"
                    timeStamp="2010-10-28T23:56:29.995-07:00"
                    xsi:schemaLocation="http://www.opengis.net/wfs
http://localhost:8080/geoserver-2.1-snapshot-10282010/schemas/wfs/1.1.0/wfs.xsd
http://www.geo-solutions.it
http://localhost:8080/geoserver-2.1-snapshot-10282010/wfs?service=WFS&amp;version=1.1.0&amp;request=DescribeFeatureType&amp;typeName=it.geosolutions%3Ahighways
"
                    xmlns:ogc="http://www.opengis.net/ogc"; xmlns:gml="
http://www.opengis.net/gml";
                    xmlns:it.geosolutions="http://www.geo-solutions.it";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
                    xmlns:topp="http://www.openplans.org/topp"; xmlns:xlink="
http://www.w3.org/1999/xlink";
                    xmlns:ows="http://www.opengis.net/ows"; xmlns:wfs="
http://www.opengis.net/wfs";>
                    <gml:featureMembers>
                        <it.geosolutions:highways gml:id="highways.1">
                            <it.geosolutions:the_geom>
                                <gml:MultiLineString srsDimension="2"
                                    srsName="urn:x-ogc:def:crs:EPSG:4326">
                                    <gml:lineStringMember>
                                        <gml:LineString>
                                            <gml:posList>37.769034
-122.397233 37.769474 -122.397642
                                                37.769796 -122.397846
37.770061 -122.397977 37.770872
                                                -122.398163 37.771951
-122.398085 37.772221 -122.398093
                                                37.772474 -122.398224
37.772768 -122.398567 37.773345
                                                -122.399321 37.773497
-122.399591 37.774593 -122.401125</gml:posList>
                                        </gml:LineString>
                                    </gml:lineStringMember>
                                </gml:MultiLineString>
                            </it.geosolutions:the_geom>

<it.geosolutions:LENGTH>0.469</it.geosolutions:LENGTH>
                            <it.geosolutions:HWYNAME>I
280</it.geosolutions:HWYNAME>
                            <it.geosolutions:FCC>A11</it.geosolutions:FCC>

<it.geosolutions:STATEFIPS>06</it.geosolutions:STATEFIPS>
                            <it.geosolutions:ALT1_NAME />
                            <it.geosolutions:ROAD_TYPE>Major
Roads/Highways</it.geosolutions:ROAD_TYPE>
                        </it.geosolutions:highways>
                    </gml:featureMembers>
                </wfs:FeatureCollection>
            </wps:ComplexData>
        </wps:Input>
        <wps:Input>
            <ows:Identifier>buffer</ows:Identifier>
            <wps:Data>
                <wps:LiteralData>10.0</wps:LiteralData>
            </wps:Data>
        </wps:Input>
    </wps:DataInputs>
    <wps:ResponseForm>
        <wps:RawDataOutput
            schema="http://schemas.opengis.net/gml/3.1.1/feature.xsd";
            mimeType="text/xml; subtype=wfs-collection/1.1">
            <ows:Identifier>result</ows:Identifier>
        </wps:RawDataOutput>
    </wps:ResponseForm>
</wps:Execute>

On Thu, Oct 28, 2010 at 3:17 AM, Andrea Aime
<[email protected]>wrote:

> On Thu, Oct 28, 2010 at 8:11 AM, AugustTown <[email protected]> wrote:
> >
> > Hi all,
> >
> > I'm trying to build WPS module from both trunk and 2.0.2 but I am always
> > getting an error saying SextanteProcessFactory is not abstract and does
> not
> > override isAvailable()...
> >
> > Does any one have an idea why this is happening?
>
> On 2.0.x it's probably normal, the module there is abandoned.
> But trunk version is built every night and we don't see such problem. Not
> sure,
> maybe you're getting some outdated geotools jars?
> Try to also build geotools trunk locally.
>
> Cheers
> Andrea
>
> -----------------------------------------------------
> Ing. Andrea Aime
> Senior Software Engineer
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
>
> phone: +39 0584962313
> fax:     +39 0584962313
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://www.linkedin.com/in/andreaaime
> http://twitter.com/geowolf
>
> -----------------------------------------------------
>
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to