[Zoo-discuss] IntersectionPy and other functions

Farkas H farkas.dus at gmail.com
Wed Nov 28 07:44:01 PST 2012


Hi Gérald,

thanks for your response.
Yes, I use URL encoding for xlink:href.

I used the famous tasmania data for my tests.
BoundaryPy, BufferPy, CentroidPy and ConvexHullPy are working
correctly. Please find the BufferPy request here [1].

Further I tried IntersectPy, UnionPy, DifferencePy and SymDifferencePy
using tasmania_state_boundaries and tasmania_water_bodies from
http://demo.opengeo.org and from my local machine.
Please find the IntersectPy requests here [2], [3], [4].

The result of [2] is empty, there is no geometry.
Request [3] doesn't make any sense but it works. The resulting data
equals the href-data.

Thank you for coming back.

Regards,
Farkas

[1]
http://localhost/cgi-bin/zoo_loader.cgi?serviceprovider=&metapath=&request=Execute&service=WPS&version=1.0.0&Identifier=BufferPy&DataInputs=InputPolygon=Reference@xlink:href=http%3A%2F%2Fdemo.opengeo.org%2Fgeoserver%2Fows%3FSERVICE%3DWFS%26REQUEST%3DGetFeature%26VERSION%3D1.0.0%26typename%3Dtopp%3Atasmania_water_bodies%26SRS%3DEPSG%3A4326%3BBufferDistance%3D2%40uom%3Dmeter

[2]
http://localhost/cgi-bin/zoo_loader.cgi?serviceprovider=&metapath=&request=Execute&service=WPS&version=1.0.0&Identifier=IntersectionPy&DataInputs=InputEntity1=Reference@xlink:href=http%3A%2F%2Fdemo.opengeo.org%2Fgeoserver%2Fows%3FSERVICE%3DWFS%26REQUEST%3DGetFeature%26VERSION%3D1.0.0%26typename%3Dtopp%3Atasmania_state_boundaries%26SRS%3DEPSG%3A4326;InputEntity2=Reference@xlink:href=http%3A%2F%2Fdemo.opengeo.org%2Fgeoserver%2Fows%3FSERVICE%3DWFS%26REQUEST%3DGetFeature%26VERSION%3D1.0.0%26typename%3Dtopp%3Atasmania_water_bodies%26SRS%3DEPSG%3A4326

[3]
http://localhost/cgi-bin/zoo_loader.cgi?serviceprovider=&metapath=&request=Execute&service=WPS&version=1.0.0&Identifier=IntersectionPy&DataInputs=InputEntity1=Reference@xlink:href=http%3A%2F%2Fdemo.opengeo.org%2Fgeoserver%2Fows%3FSERVICE%3DWFS%26REQUEST%3DGetFeature%26VERSION%3D1.0.0%26typename%3Dtopp%3Atasmania_water_bodies%26SRS%3DEPSG%3A4326;InputEntity2=Reference@xlink:href=http%3A%2F%2Fdemo.opengeo.org%2Fgeoserver%2Fows%3FSERVICE%3DWFS%26REQUEST%3DGetFeature%26VERSION%3D1.0.0%26typename%3Dtopp%3Atasmania_water_bodies%26SRS%3DEPSG%3A4326



On 23 November 2012 13:33, Gérald Fenoy <gerald.fenoy at geolabs.fr> wrote:
> Dear Faraks,
> sorry for late reply.
>
> I would like to invite you to tell us if you used URLEncoded values for xlink:href as it should be ?
>
> I other case, please provide the full request without removing anything from the request you used to run the tests.
>
> Best,
>
> Gérald Fenoy
> gerald.fenoy at geolabs.fr
>
> Le 14 nov. 2012 à 17:50, Farkas H <farkas.dus at gmail.com> a écrit :
>
>> Hello,
>>
>> I've tried the functions IntersectionPy, DifferencePy, UnionPy and
>> SymDifferencePy
>> using two referenced polygon layers via http-Get.
>>
>> The wps is executed without errors but the result doesn't contain any
>> geometries.
>>
>> I use the following command:
>> e.g.
>> http://localhost/cgi-bin/zoo_loader.cgi?serviceprovider=&metapath=
>> &request=Execute&service=WPS&version=1.0.0&Identifier=UnionPy
>> &DataInputs=InputEntity1=Reference at xlink:href=...
>> ;InputEntity2=Reference at xlink:href=...
>>
>> What am I doing wrong?
>>
>> I appreciate any advice.
>>
>> Regards,
>> Farkas
>> _______________________________________________
>> Zoo-discuss mailing list
>> Zoo-discuss at lists.osgeo.org
>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/zoo-discuss
>


More information about the Zoo-discuss mailing list