[mapserver-users] WFS multiple typenames in request, only one in reply

Attila BERÉNYI aberenyi at burken.hu
Tue Apr 6 08:29:16 EDT 2010


Hello,

Ok, but how? :)
BTW I'm using OpenLayers, so the requested URL is automatically generated.

Regards,
Attila

2010.04.06. 14:08 keltezéssel, bartvde at osgis.nl írta:
> Hi,
>
> you need to repeat your filter (comma-separated) IIRC.
>
> Best regards,
> Bart
>
>    
>> Dear All,
>>
>> I've two layers (elteresek and elteresek2), and I'd like to get features
>> from both of them using WFS GetFeature request.
>> If I apply one typename at a time, it works correct, but if I include
>> two typenames in the request only the first is processed and included in
>> the response.
>> This works correct (note TYPENAME=elteresek):
>> http://webgis.fmt.bme.hu/cgi-bin/mvmNew?SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&TYPENAME=elteresek&Filter=<ogc:Filter
>> xmlns:ogc="http://www.opengis.net/ogc"><ogc:BBOX><ogc:PropertyName>msGeometry</ogc:PropertyName><gml:Envelope
>> xmlns:gml="http://www.opengis.net/gml"
>> srsName="EPSG:23700"><gml:lowerCorner>649971.6696
>> 236508.4728</gml:lowerCorner><gml:upperCorner>651559.1688
>> 237919.5832</gml:upperCorner></gml:Envelope></ogc:BBOX></ogc:Filter>
>>
>> This works correct (note TYPENAME=elteresek2) as well:
>> http://webgis.fmt.bme.hu/cgi-bin/mvmNew?SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&TYPENAME=elteresek2&Filter=<ogc:Filter
>> xmlns:ogc="http://www.opengis.net/ogc"><ogc:BBOX><ogc:PropertyName>msGeometry</ogc:PropertyName><gml:Envelope
>> xmlns:gml="http://www.opengis.net/gml"
>> srsName="EPSG:23700"><gml:lowerCorner>649971.6696
>> 236508.4728</gml:lowerCorner><gml:upperCorner>651559.1688
>> 237919.5832</gml:upperCorner></gml:Envelope></ogc:BBOX></ogc:Filter>
>>
>> But the reply for this link includes only the first typename (in this
>> case elteresek):
>> http://webgis.fmt.bme.hu/cgi-bin/mvmNew?SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&TYPENAME=elteresek,elteresek2&Filter=<ogc:Filter
>> xmlns:ogc="http://www.opengis.net/ogc"><ogc:BBOX><ogc:PropertyName>msGeometry</ogc:PropertyName><gml:Envelope
>> xmlns:gml="http://www.opengis.net/gml"
>> srsName="EPSG:23700"><gml:lowerCorner>649971.6696
>> 236508.4728</gml:lowerCorner><gml:upperCorner>651559.1688
>> 237919.5832</gml:upperCorner></gml:Envelope></ogc:BBOX></ogc:Filter>
>>
>> What am I doing wrong?
>>
>> Thanks,
>>
>> Attila
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
>>      
>
>
>    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100406/a146a863/attachment.html


More information about the mapserver-users mailing list