<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Helvetica, Arial, sans-serif">Hello,<br>
<br>
Ok, but how? :)<br>
BTW I'm using OpenLayers, so the requested URL is automatically
generated.<br>
<br>
Regards,<br>
Attila<br>
</font></font><br>
2010.04.06. 14:08 keltezéssel, <a class="moz-txt-link-abbreviated" href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</a> írta:
<blockquote
cite="mid:57113.145.50.39.11.1270555713.squirrel@webmail.hostingdiscounter.nl"
type="cite">
<pre wrap="">Hi,
you need to repeat your filter (comma-separated) IIRC.
Best regards,
Bart
</pre>
<blockquote type="cite">
<pre wrap="">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):
<a class="moz-txt-link-freetext" href="http://webgis.fmt.bme.hu/cgi-bin/mvmNew?SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&TYPENAME=elteresek&Filter=">http://webgis.fmt.bme.hu/cgi-bin/mvmNew?SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&TYPENAME=elteresek&Filter=</a><ogc:Filter
xmlns:ogc=<a class="moz-txt-link-rfc2396E" href="http://www.opengis.net/ogc">"http://www.opengis.net/ogc"</a>><ogc:BBOX><ogc:PropertyName>msGeometry</ogc:PropertyName><gml:Envelope
xmlns:gml=<a class="moz-txt-link-rfc2396E" href="http://www.opengis.net/gml">"http://www.opengis.net/gml"</a>
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:
<a class="moz-txt-link-freetext" href="http://webgis.fmt.bme.hu/cgi-bin/mvmNew?SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&TYPENAME=elteresek2&Filter=">http://webgis.fmt.bme.hu/cgi-bin/mvmNew?SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&TYPENAME=elteresek2&Filter=</a><ogc:Filter
xmlns:ogc=<a class="moz-txt-link-rfc2396E" href="http://www.opengis.net/ogc">"http://www.opengis.net/ogc"</a>><ogc:BBOX><ogc:PropertyName>msGeometry</ogc:PropertyName><gml:Envelope
xmlns:gml=<a class="moz-txt-link-rfc2396E" href="http://www.opengis.net/gml">"http://www.opengis.net/gml"</a>
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):
<a class="moz-txt-link-freetext" href="http://webgis.fmt.bme.hu/cgi-bin/mvmNew?SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&TYPENAME=elteresek,elteresek2&Filter=">http://webgis.fmt.bme.hu/cgi-bin/mvmNew?SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&TYPENAME=elteresek,elteresek2&Filter=</a><ogc:Filter
xmlns:ogc=<a class="moz-txt-link-rfc2396E" href="http://www.opengis.net/ogc">"http://www.opengis.net/ogc"</a>><ogc:BBOX><ogc:PropertyName>msGeometry</ogc:PropertyName><gml:Envelope
xmlns:gml=<a class="moz-txt-link-rfc2396E" href="http://www.opengis.net/gml">"http://www.opengis.net/gml"</a>
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
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
</body>
</html>