<!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> </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> </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. 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> </div>
<div><font size="2" face="Arial"><span class="777072615-09022012">MAP<br>
OUTPUTFORMAT<br>
NAME "CSV"<br>
DRIVER "OGR/CSV"<br>
MIMETYPE "text/csv"<br>
FORMATOPTION "LCO:GEOMETRY=AS_WKT"<br>
FORMATOPTION "STORAGE=filesystem"<br>
FORMATOPTION "FORM=simple"<br>
FORMATOPTION "FILENAME=%outfile%"<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>
IMAGEPATH "d:/ms4w/tmp/"<br>
TEMPPATH "d:/ms4w/tmp/"<br>
METADATA<br>
"outfile_validation_pattern" "."<br>
"default_outfile" "out.txt"<br>
"ows_enable_request" "*" <br>
"wfs_encoding" "UTF-8"<br>
"wfs_namespace_prefix" "lv"<br>
"wfs_namespace_uri" "<a href="http://latuviitta.org">http://latuviitta.org</a>"<br>
"wfs_abstract" "Mapserver 6.0 WFS"<br>
"wfs_getfeature_formatlist" "CSV" <br>
"wfs_srs" "EPSG:3067 EPSG:4326 EPSG:2393 EPSG:900913"<br>
"wfs_title" "Mapserver-WFS"<br>
"wms_onlineresource" "<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>"<br>
END<br>
END<br>
#DEBUG 10<br>
CONFIG "PROJ_LIB" "/ms4w/proj/nad"<br>
CONFIG "MS_ERRORFILE" "/ms4w/tmp/wfs_error.log"<br>
PROJECTION<br>
"init=epsg:3067"<br>
END<br>
LAYER<br>
TYPE POLYGON<br>
STATUS ON<br>
PROJECTION<br>
"init=epsg:3067"<br>
#Finnish ETRS-TM35FIN projection<br>
END<br>
NAME "wfs_polygons"</span></font></div>
<div><font size="2" face="Arial"><span class="777072615-09022012"> #CONNECTIONTYPE OGR #same result with OGR connection</span></font></div>
<div><font size="2" face="Arial"><span class="777072615-09022012"> #CONNECTION "/ms4w/map/AVI1_p.shp" #same result with OGR connection<br>
DATA "/ms4w/map/AVI1_p.shp"<br>
METADATA<br>
"wfs_title" "wfs_polygons"<br>
"gml_include_items" "all"<br>
END<br>
DUMP TRUE<br>
DEBUG 5<br>
CLASS<br>
STYLE<br>
COLOR "#FF6767"<br>
END <br>
END<br>
END<br>
END</span></font></div>
<div><font size="2" face="Arial"><span class="777072615-09022012"></span></font> </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> </div>
<div><font size="2" face="Arial"><span class="777072615-09022012">-Jukka Rahkonen-</span></font></div>
</body>
</html>