getfeature returns features from the first layer only

Bart van den Eijnden BEN at SYNCERA-ITSOLUTIONS.NL
Tue Oct 11 01:14:07 EDT 2005


Are you repeating your filter for all layers/typenames?

You need to repeat it for every typename you have.

If this does not work, can you post your full GetFeature request?

AFAIK, Mapserver WFS currently does no output a fid, see also:

http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1413

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 5:36 >>>
Hi,

I'm new to Map Server, and as expected I have few problems.

When I submit GetFeature request
(SERVICE=wfs&REQUEST=GETFEATURE&TYPENAME=layer1,layer2&<filter>*) in the
response I only receive featureMember from the first layer (layer1). If I
switch the layers than it returns featureMember only from layer2, but never
from both.

What I'm doing wrong?



Also no fid is returned for the features * the shapefiles used have been
tested with other products and they do return fid (feature id)



Thanks in advance!
Goce



More information about the mapserver-users mailing list