<div>I am using a ms4w install using mapserver 4.4 and 4.6 with Chameleon. I have a few layers set up as wfs served layers. When i do a http get features request, they work properly, no errors. However when I go to view the layers in mapserver (either via localhost or a different machine) my map fails to load whenever i add one of the layers.
</div>
<div> </div>
<div>When using the expression builder in Chameleon, I can see the data in the shapefiles, but once again, if i try to view the layer, my map will not load, it doesn't give me an error, just the little red X in the top left corner. I really would like to get this working so that I can use the expression builder to tap local data sources with ad hoc query capabilities.
</div>
<div> </div>
<div>Below are the relevant portions of my .map file.</div>
<div> </div>
<div> web<br> imagepath "/tmp/ms_tmp"<br> imageurl "/tmp/ms_tmp"<br> METADATA<br> "wms_title" "Tucson WMS Server"<br> "wms_onlineresource" "<a href="http://127.0.0.1/cgi-bin/mapserv_44.exe?map=c:/ms4w/apps/myApp/map/test_douglas.map">
http://127.0.0.1/cgi-bin/mapserv_44.exe?map=c:/ms4w/apps/myApp/map/test_douglas.map</a>&"<br> "wfs_title" "Tucson Sector WFS Server"<br> "wfs_onlineresource" "<a href="http://127.0.0.1/cgi-bin/mapserv_44.exe?map=c:/ms4w/apps/myApp/map/test_douglas.map">
http://127.0.0.1/cgi-bin/mapserv_44.exe?map=c:/ms4w/apps/myApp/map/test_douglas.map</a>&"<br> "wcs_label" "Tucson WCS Server"<br> "wms_srs" "EPSG:4326"<br> "wfs_srs" "EPSG:4326"
<br> END<br> END</div>
<div>....</div>
<div> </div>
<div>NAME amtrak_stations<br> TYPE POINT<br> STATUS off<br> DATA "C:/ms4w/apps/myApp/data/amtrakx020.shp"<br> dump True<br> TOLERANCE 3<br> CLASS<br> name 'Amtrak Stations: Nationwide'<br> TEMPLATE 'C:/ms4w/apps/myApp/htdocs/templates/qry_city_data.html'
<br> symbol "train"<br> size 12<br> COLOR 255 0 0<br> <br> END<br> METADATA<br> "wfs_title" "Amtrak Stations"<br> "wfs_srs" "EPSG:4326"<br> "wfs_abstract" "Obtained from the National Atlas: data from 09/05"
<br> END<br> END<br> </div>
<div>....</div>
<div> </div>
<div> LAYER<br>NAME wfs_amtrak<br>TYPE POINT<br>STATUS off<br>CONNECTIONTYPE WFS<br>CONNECTION "<a href="http://127.0.0.1/cgi-bin/mapserv_44.exe?map=c:/ms4w/apps/myApp/map/test_douglas.map&typename=amtrak_stations">
http://127.0.0.1/cgi-bin/mapserv_44.exe?map=c:/ms4w/apps/myApp/map/test_douglas.map&typename=amtrak_stations</a>&"<br>class<br> name "wfs amtrak"<br> symbol 'train'<br> color 250 250 0<br> outlinecolor 150 150 0
<br> end<br>METADATA <br>gml_include_items "all"<br>"wfs_typename" "amtrak_stations"<br>"wfs_service" "WFS"<br>"wfs_srs" "EPSG:4326"<br>"wfs_version" "
1.0.0" <br>"wfs_request_method" "GET"<br>END<br>END</div>
<div> </div>
<div> </div>
<div>Thanks for any help,</div>
<div> </div>
<div>Matt</div>