Dear List, For a WFS 1.0.0 request, I am wanting to output text/csv and also restrict the number of records returned by using &maxfeatures.
A request is successful if the data source is OGR (csv file), but I get the following error if the data source is PostGIS. Content-type: text/xml <?xml version='1.0' encoding="ISO-8859-1" ?> <ServiceExceptionReport version="1.2.0" xmlns="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/ogc http://www.bom.gov.au/wfs/1.0.0/OGC-exception.xsd"> <ServiceException code="NoApplicableCode" locator="mapserv"> msOGRWriteFromQuery(): General error message. Failed to open result file '/tmp/4e48981a_2ffd_0/result.csv'. </ServiceException> </ServiceExceptionReport> The WFS request works fine (output GML or text/csv) without using &maxfeatures. I get the same error if I use "WFS_MAXFEATURES" in the WEB metadata. I'm using Mapserver 6.0.1. Thanks, Kathleen
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
