<!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&eacute;ssel, <a class="moz-txt-link-abbreviated" href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</a> &iacute;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&amp;VERSION=1.1.0&amp;REQUEST=GetFeature&amp;TYPENAME=elteresek&amp;Filter=">http://webgis.fmt.bme.hu/cgi-bin/mvmNew?SERVICE=WFS&amp;VERSION=1.1.0&amp;REQUEST=GetFeature&amp;TYPENAME=elteresek&amp;Filter=</a>&lt;ogc:Filter
xmlns:ogc=<a class="moz-txt-link-rfc2396E" href="http://www.opengis.net/ogc">"http://www.opengis.net/ogc"</a>&gt;&lt;ogc:BBOX&gt;&lt;ogc:PropertyName&gt;msGeometry&lt;/ogc:PropertyName&gt;&lt;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"&gt;&lt;gml:lowerCorner&gt;649971.6696
236508.4728&lt;/gml:lowerCorner&gt;&lt;gml:upperCorner&gt;651559.1688
237919.5832&lt;/gml:upperCorner&gt;&lt;/gml:Envelope&gt;&lt;/ogc:BBOX&gt;&lt;/ogc:Filter&gt;

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&amp;VERSION=1.1.0&amp;REQUEST=GetFeature&amp;TYPENAME=elteresek2&amp;Filter=">http://webgis.fmt.bme.hu/cgi-bin/mvmNew?SERVICE=WFS&amp;VERSION=1.1.0&amp;REQUEST=GetFeature&amp;TYPENAME=elteresek2&amp;Filter=</a>&lt;ogc:Filter
xmlns:ogc=<a class="moz-txt-link-rfc2396E" href="http://www.opengis.net/ogc">"http://www.opengis.net/ogc"</a>&gt;&lt;ogc:BBOX&gt;&lt;ogc:PropertyName&gt;msGeometry&lt;/ogc:PropertyName&gt;&lt;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"&gt;&lt;gml:lowerCorner&gt;649971.6696
236508.4728&lt;/gml:lowerCorner&gt;&lt;gml:upperCorner&gt;651559.1688
237919.5832&lt;/gml:upperCorner&gt;&lt;/gml:Envelope&gt;&lt;/ogc:BBOX&gt;&lt;/ogc:Filter&gt;

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&amp;VERSION=1.1.0&amp;REQUEST=GetFeature&amp;TYPENAME=elteresek,elteresek2&amp;Filter=">http://webgis.fmt.bme.hu/cgi-bin/mvmNew?SERVICE=WFS&amp;VERSION=1.1.0&amp;REQUEST=GetFeature&amp;TYPENAME=elteresek,elteresek2&amp;Filter=</a>&lt;ogc:Filter
xmlns:ogc=<a class="moz-txt-link-rfc2396E" href="http://www.opengis.net/ogc">"http://www.opengis.net/ogc"</a>&gt;&lt;ogc:BBOX&gt;&lt;ogc:PropertyName&gt;msGeometry&lt;/ogc:PropertyName&gt;&lt;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"&gt;&lt;gml:lowerCorner&gt;649971.6696
236508.4728&lt;/gml:lowerCorner&gt;&lt;gml:upperCorner&gt;651559.1688
237919.5832&lt;/gml:upperCorner&gt;&lt;/gml:Envelope&gt;&lt;/ogc:BBOX&gt;&lt;/ogc:Filter&gt;

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>