getfeature returns features from the first layer only

Bart van den Eijnden BEN at SYNCERA-ITSOLUTIONS.NL
Tue Oct 11 00:29:12 PDT 2005


Hi,

Can you try upgrading to 4.6.1?

If you do try, don't forget to add the following metadata to your layers:

gml_include_items "all"

Also, change your propertyname from * to msGeometry.

Best regards,
Bart

Bart van den Eijnden
Syncera IT Solutions
Postbus 270
2600 AG  DELFT

tel.nr.: 015-7512436
email: BEN at Syncera-ITSolutions.nl

>>> Goce Petrovski <goce.petrovski at IINTEGRATESYS.COM> 11-10-2005 9:20:01 >>>
Thank you Bart,

Version: 4.4.1 for Windows.

http://localhost/MapServer/cgi-bin/mapserv.exe?map=my.map&VERSION=1.0.
0&SERVICE=wfs&REQUEST=GETFEATURE&TYPENAME=mdgcad,
major_roads&FILTER=<Filter><BBOX><PropertyName>*</PropertyName><gml:
Box><gml:coordinates>433417.138421,6491775.240702 433637.178978,6491861.
967867</gml:coordinates></gml:Box></BBOX></Filter>


http://localhost/MapServer/cgi-bin/mapserv.exe?map=my.map&VERSION=1.0.
0&SERVICE=wfs&REQUEST=GETFEATURE&TYPENAME=mdgcad,
major_roads&FILTER=<Filter><BBOX><PropertyName>*</PropertyName><gml:
Box><gml:coordinates>433417.138421,6491775.240702 433637.178978,6491861.
967867</gml:coordinates></gml:Box></BBOX></Filter>,
<Filter><BBOX><PropertyName>*</PropertyName><gml:Box><gml:
coordinates>433417.138421,6491775.240702 433637.178978,6491861.967867</gml:
coordinates></gml:Box></BBOX></Filter>


On Tue, 11 Oct 2005 09:07:39 +0200, Bart van den Eijnden <BEN at SYNCERA-
ITSOLUTIONS.NL> wrote:

>Could you send this unencoded?
>
>At first sight it seems you are doing everything right and this could be a
bug. You could switch to the HTTP POST interface in which I know for sure it
works to request multiple layers.
>
>Btw which Mapserver version are you using?
>
>Best regards,
>Bart
>
>Bart van den Eijnden
>Syncera IT Solutions
>Postbus 270
>2600 AG  DELFT
>
>tel.nr.: 015-7512436
>email: BEN at Syncera-ITSolutions.nl 
>
>>>> Goce Petrovski <goce.petrovski at IINTEGRATESYS.COM> 11-10-2005 9:05:07
>>>
>Try 1:
>http://localhost/MapServer/cgi-bin/mapserv.exe?map=my.map&VERSION=1.0.
>0&SERVICE=wfs&REQUEST=GETFEATURE&TYPENAME=mdgcad%2Cmajor_roads&FILTER=%
>3CFilter%3E%3CBBOX%3E%3CPropertyName%3E*%3C%2FPropertyName%3E%3Cgml%3ABox%
>3E%3Cgml%3Acoordinates%3E433417.138421%2C6491775.240702+433637.178978%
>2C6491861.967867%3C%2Fgml%3Acoordinates%3E%3C%2Fgml%3ABox%3E%3C%2FBBOX%3E%
>3C%2FFilter%3E&Submit1=Submit
>
>Try 2 (repeated filter)
>http://localhost/MapServer/cgi-bin/mapserv.exe?map=my.map&VERSION=1.0.
>0&SERVICE=wfs&REQUEST=GETFEATURE&TYPENAME=mdgcad%2Cmajor_roads&FILTER=%
>3CFilter%3E%3CBBOX%3E%3CPropertyName%3E*%3C%2FPropertyName%3E%3Cgml%3ABox%
>3E%3Cgml%3Acoordinates%3E433417.138421%2C6491775.240702+433637.178978%
>2C6491861.967867%3C%2Fgml%3Acoordinates%3E%3C%2Fgml%3ABox%3E%3C%2FBBOX%3E%
>3C%2FFilter%3E%2C%3CFilter%3E%3CBBOX%3E%3CPropertyName%3E*%3C%
>2FPropertyName%3E%3Cgml%3ABox%3E%3Cgml%3Acoordinates%3E433417.138421%
>2C6491775.240702+433637.178978%2C6491861.967867%3C%2Fgml%3Acoordinates%3E%
>3C%2Fgml%3ABox%3E%3C%2FBBOX%3E%3C%2FFilter%3E&Submit1=Submit
>
>still same result... (this if I did the repeat right)



More information about the MapServer-users mailing list