On Thu, Oct 21, 2010 at 6:02 PM, Gregory Giuliani <
[email protected]> wrote:

> Dear all,
>
> With two colleagues, we are trying to intersect two features, like this
> example:
>
>
> http://localhost:8080/geoserver/ows?&VERSION=1.0.0&SERVICE=WFS&REQUEST=GetFeature&TYPENAME=cities&Filter=
> <Filter>
>
> <Intersect><PropertyName>Geometry</PropertyName><gml:Polygon><gml:outerBoundaryIs><gml:LinearRing>
> <gml:coordinates>135.5329,34.6624 135.4921,34.8153 135.3673,34.7815
> 135.3800,34.6216 135.5361,34.6210
> 135.5329,34.6624</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></Intersect></Filter>
>
> but instead of defining the <gml:coordinates> we want to call a second WFS
> GetFeature like that:
>
>
> http://localhost:8080/geoserver/ows?&VERSION=1.0.0&SERVICE=WFS&REQUEST=GetFeature&TYPENAME=cities&Filter=
> <Filter>
> <Intersect><PropertyName>Geometry</PropertyName><HTTP><Get onlineResource="
> http://sdi.unige.ch/arcgis/services/WFS_GDB/MapServer/WFSServer?
> request=GetFeature&version=1.0.0&srs=EPSG:4326&typename=WFS_GDB:river"/></HTTP></Intersect></Filter>
>
> But unfortunately this does not work.
>
> Did someone has an idea on how to do that and if it is possible?
>
>
It is not possible, you have to make two separate WFS calls, one to retrieve
the geometry coordinates, the second to use those coordinates in the
intersect call

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