<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
<BR>It doesn't help. Since the WFS response is appearing in the image folder, the layer must be getting turned on. And the scale thresholds seem to be working - the gml files only appear if I zoom in far enough for the layer to be drawn. <BR>
<BR>
So everything works, except rendering the WFS response.<BR>
<BR>
Mike<BR>
<BR>
<BR>
> Subject: Re: [UMN_MAPSERVER-USERS] WFS features not drawing<BR>> Date: Wed, 7 Nov 2007 18:22:01 +0200<BR>> From: Jukka.Rahkonen@mmmtike.fi<BR>> To: m_anderson14@HOTMAIL.COM; MAPSERVER-USERS@LISTS.UMN.EDU<BR>> <BR>> Hi,<BR>> <BR>> Have you tried adding some STATUS to layer definition? <BR>> <BR>> -Jukka- <BR>> <BR>> > -----Alkuperäinen viesti-----<BR>> > Lähettäjä: UMN MapServer Users List <BR>> > [mailto:MAPSERVER-USERS@LISTS.UMN.EDU] Puolesta Mike Anderson<BR>> > Lähetetty: 7. marraskuuta 2007 15:59<BR>> > Vastaanottaja: MAPSERVER-USERS@LISTS.UMN.EDU<BR>> > Aihe: [UMN_MAPSERVER-USERS] WFS features not drawing<BR>> > <BR>> > I'm trying for the first time to use MapServer as a WFS <BR>> > client and can't get the features to draw. They are correctly <BR>> > being downloaded to a .gml file in the images folder along <BR>> > with a .gfs file. So I think the connection is set up right, <BR>> > but they don't draw on the map.<BR>> > <BR>> > I am trying to add the ssurgo layer from the Soil Data Mart. <BR>> > Here is my layer<BR>> > definition:<BR>> > <BR>> > LAYER<BR>> > NAME "ssurgof"<BR>> > TYPE Line<BR>> > TRANSPARENCY 100<BR>> > DEBUG ON<BR>> > CONNECTIONTYPE WFS<BR>> > MAXSCALE 15000<BR>> > MINSCALE 300<BR>> > PROJECTION<BR>> > "init=EPSG:26918"<BR>> > END<BR>> > <BR>> > CONNECTION "http://sdmdataaccess.nrcs.usda.gov/SPATIAL/SDMNAD83UTM.w<BR>> > fs?SRSNAME=EPSG:26918"<BR>> > <BR>> > METADATA<BR>> > "wfs_typename" "MapunitPoly"<BR>> > "wfs_version" "1.0.0"<BR>> > "wfs_request_method" "GET"<BR>> > "wfs_connectiontimeout" "60"<BR>> > "wfs_maxfeatures" "15"<BR>> > END<BR>> > <BR>> > CLASS<BR>> > NAME "Soil Features"<BR>> > STYLE<BR>> > COLOR 200 255 0<BR>> > SYMBOL "circle"<BR>> > OUTLINECOLOR 120 120 120<BR>> > END<BR>> > END<BR>> > <BR>> > #CLASS<BR>> > # Name 'Soil Features'<BR>> > # TEMPLATE "querytemp.html"<BR>> > # SYMBOL "circle"<BR>> > # COLOR -1 -1 -1<BR>> > # OUTLINECOLOR 255 0 0<BR>> > # SIZE 2<BR>> > #END # CLASS<BR>> > <BR>> > END # LAYER<BR>> > <BR>> > <BR>> > I thought maybe the features were drawing but the class was <BR>> > messed up and they weren't visible, so I tried two ways to <BR>> > define the class. Neither one works.<BR>> > <BR>> > Anyone have an idea what the problem is?<BR>> > <BR>> > Thanks.<BR>> > <BR>> > Mike Anderson<BR>> > <BR><BR><br /><hr />Peek-a-boo FREE Tricks & Treats for You! <a href='http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us' target='_new'>Get 'em!</a></body>
</html>