The GetFeature WFS Request fail if the layer is empty
Andrea Peri <[email protected]> Mon, 12 Aug 2019 13:29:41 +0200
| Newsgroups | gmane.comp.gis.mapserver.user |
|---|---|
| Message-ID | <CABqTJk9ptVKa1OaB7p_NZsCtEUMPNXPDQB2ktEiyuOY8roeKUQ@mail.gmail.com> |
Hi, I' notice that the GetFeature WFS request of a mapserver (i'm work using master) return an error if the dataset (and so the layer) is empty. I test using version 1.0.0, 1.1.1 and 2.00. On 2.0.0 the result is: http status 400 *The request sent by the client was syntactically incorrect.* On 1.1.0 and 1.0.0 the result is an xml exception with: msWFSGetFeature(): WFS server error. ms_error->code not found I Guess it should return not an exception or error, but instead an empty GML or an Empty Shapefile and so on... Before to build a test service of this issue, I like to know if this instead is a confirmed specific characteristic of a wfs service. Thx, -- ----------------- Andrea Peri . . . . . . . . . qwerty àèìòù ----------------- _______________________________________________ mapserver-users mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/mapserver-users