<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="GENERATOR" content="MSHTML 8.00.6001.19154">
</head>
<body>
<div><font size="2" face="Arial"><span class="777072615-09022012">Hi,</span></font></div>
<div><font size="2" face="Arial"><span class="777072615-09022012"></span></font>&nbsp;</div>
<div><font size="2" face="Arial"><span class="777072615-09022012">I was hoping that the new version would make my OGR output trials to work but unfortunately I can only get error messages like these:</span></font></div>
<div><font size="2" face="Arial"><span class="777072615-09022012"></span></font>&nbsp;</div>
<div><font size="2" face="Arial"><span class="777072615-09022012">[Thu Feb 09 17:21:28 2012].789000 msOGRWriteFromQuery(): General error message. Failed to open result file 'd:/ms4w/tmp/4f33e478_fac_0/out.txt'.<br>
[Thu Feb 09 17:22:38 2012].139000 msOGRWriteFromQuery(): General error message. Failed to open result file 'd:/ms4w/tmp/4f33e4be_a08_0/out.txt'.<br>
</div>
</span></font>
<div><font size="2" face="Arial"><span class="777072615-09022012">I do not see any obvious errors in my mapfile and normat GML output works great.&nbsp;If someone has made this to work with shapefiles I would love to see the mapfile. Below is mine.</span></font></div>
<div><font size="2" face="Arial"><span class="777072615-09022012"></span></font><font size="2" face="Arial"><span class="777072615-09022012"></span></font><font size="2" face="Arial"><span class="777072615-09022012"></span></font>&nbsp;</div>
<div><font size="2" face="Arial"><span class="777072615-09022012">MAP<br>
OUTPUTFORMAT<br>
&nbsp; NAME &quot;CSV&quot;<br>
&nbsp; DRIVER &quot;OGR/CSV&quot;<br>
&nbsp; MIMETYPE &quot;text/csv&quot;<br>
&nbsp; FORMATOPTION &quot;LCO:GEOMETRY=AS_WKT&quot;<br>
&nbsp; FORMATOPTION &quot;STORAGE=filesystem&quot;<br>
&nbsp; FORMATOPTION &quot;FORM=simple&quot;<br>
&nbsp; FORMATOPTION &quot;FILENAME=%outfile%&quot;<br>
END<br>
MAXSIZE 4000<br>
SIZE 800 800<br>
EXTENT 61600 6597900 733000 7776800 #euref<br>
UNITS meters<br>
IMAGECOLOR 20 250 250<br>
WEB<br>
&nbsp;&nbsp;&nbsp; IMAGEPATH &quot;d:/ms4w/tmp/&quot;<br>
&nbsp;&nbsp;&nbsp; TEMPPATH &quot;d:/ms4w/tmp/&quot;<br>
&nbsp;&nbsp;&nbsp; METADATA<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;outfile_validation_pattern&quot; &quot;.&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;default_outfile&quot; &quot;out.txt&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;ows_enable_request&quot; &quot;*&quot;&nbsp; <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;wfs_encoding&quot; &quot;UTF-8&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;wfs_namespace_prefix&quot; &quot;lv&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;wfs_namespace_uri&quot; &quot;<a href="http://latuviitta.org">http://latuviitta.org</a>&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;wfs_abstract&quot; &quot;Mapserver 6.0 WFS&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;wfs_getfeature_formatlist&quot; &quot;CSV&quot;&nbsp;&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;wfs_srs&quot; &quot;EPSG:3067 EPSG:4326 EPSG:2393 EPSG:900913&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;wfs_title&quot; &quot;Mapserver-WFS&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;wms_onlineresource&quot; &quot;<a href="http://localhost/cgi-bin/mapserv?map=/ms4w/map/mapserver60_wfs_test.map">http://localhost/cgi-bin/mapserv?map=/ms4w/map/mapserver60_wfs_test.map</a>&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp; END<br>
END<br>
#DEBUG 10<br>
CONFIG &quot;PROJ_LIB&quot; &quot;/ms4w/proj/nad&quot;<br>
CONFIG &quot;MS_ERRORFILE&quot; &quot;/ms4w/tmp/wfs_error.log&quot;<br>
PROJECTION<br>
&quot;init=epsg:3067&quot;<br>
END<br>
LAYER<br>
&nbsp;&nbsp;&nbsp; TYPE POLYGON<br>
&nbsp;&nbsp;&nbsp; STATUS ON<br>
&nbsp;&nbsp;&nbsp; PROJECTION<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;init=epsg:3067&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #Finnish ETRS-TM35FIN projection<br>
&nbsp;&nbsp;&nbsp; END<br>
&nbsp;&nbsp;&nbsp; NAME &quot;wfs_polygons&quot;</span></font></div>
<div><font size="2" face="Arial"><span class="777072615-09022012">&nbsp;&nbsp;&nbsp;&nbsp;#CONNECTIONTYPE OGR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #same result with OGR connection</span></font></div>
<div><font size="2" face="Arial"><span class="777072615-09022012">&nbsp;&nbsp;&nbsp; #CONNECTION &quot;/ms4w/map/AVI1_p.shp&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #same result with OGR connection<br>
&nbsp;&nbsp;&nbsp; DATA &quot;/ms4w/map/AVI1_p.shp&quot;<br>
&nbsp;&nbsp;&nbsp; METADATA<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;wfs_title&quot; &quot;wfs_polygons&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;gml_include_items&quot; &quot;all&quot;<br>
&nbsp;&nbsp;&nbsp; END<br>
&nbsp;&nbsp;&nbsp; DUMP TRUE<br>
&nbsp;&nbsp;&nbsp; DEBUG 5<br>
&nbsp;&nbsp;&nbsp; CLASS<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STYLE<br>
&nbsp;&nbsp;&nbsp; COLOR &quot;#FF6767&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END <br>
&nbsp;&nbsp;&nbsp; END<br>
END<br>
END</span></font></div>
<div><font size="2" face="Arial"><span class="777072615-09022012"></span></font>&nbsp;</div>
<div><font size="2" face="Arial"><span class="777072615-09022012">Regards,</span></font></div>
<div><font size="2" face="Arial"><span class="777072615-09022012"></span></font>&nbsp;</div>
<div><font size="2" face="Arial"><span class="777072615-09022012">-Jukka Rahkonen-</span></font></div>
</body>
</html>