<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.17063" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=797311004-15082011>Dear
List,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=797311004-15082011></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=797311004-15082011>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.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=797311004-15082011></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=797311004-15082011>A request is
successful if the data source is OGR (csv file), but I get the following
error if the data source is PostGIS. </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=797311004-15082011></SPAN></FONT><FONT
face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Content-type: text/xml<BR> <BR><?xml
version='1.0' encoding="ISO-8859-1" ?><BR> <ServiceExceptionReport
version="1.2.0" xmlns="<A
href="http://www.opengis.net/ogc">http://www.opengis.net/ogc</A>" xmlns:xsi="<A
href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</A>"
xsi:schemaLocation="<A
href="http://www.opengis.net/ogc">http://www.opengis.net/ogc</A> <A
href="http://www.bom.gov.au/wfs/1.0.0/OGC-exception.xsd">http://www.bom.gov.au/wfs/1.0.0/OGC-exception.xsd</A>"><BR> <ServiceException
code="NoApplicableCode" locator="mapserv"><BR> msOGRWriteFromQuery():
General error message. Failed to open result file
'/tmp/4e48981a_2ffd_0/result.csv'.<BR> </ServiceException><BR> </ServiceExceptionReport></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The <SPAN class=797311004-15082011>WFS
</SPAN>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.</FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=797311004-15082011>I'm using Mapserver
6.0.1.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=797311004-15082011></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=797311004-15082011>Thanks,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=797311004-15082011></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=797311004-15082011>Kathleen</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=797311004-15082011></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=797311004-15082011></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>