wfs query template...please help

Carola Jesch cjesch at CCT.LSU.EDU
Mon Jun 26 17:25:32 EDT 2006


 Hi list,
 
I am trying to connect to a WFS layer and it works fine as long as I only
want to see the WFS points in my map. But now I am trying to see the
corresponding attributes in a query template and nothing comes back. Here is
my layer definition...am I doing something wrong? Please help.
 
 
LAYER
   NAME lumconwfs
   STATUS ON
   TYPE POINT
   CONNECTIONTYPE WFS
   CONNECTION
"http://capvstr-43.lsu.edu/cgi-bin/mapserv.exe?map=../htdocs/data/lumcon/lum
con_wfsserver.map&"  #path to wfsserver  
   
    METADATA
         "wfs_service" "WFS"
         "wfs_typename" "lumconcsv"    
        "wfs_version"           "1.0.0"   
         "wfs_maxfeatures"       "1"
        "wfs_request_method"    "GET"
    END
 
   PROJECTION
      "init=epsg:4326"
    END
 
    CLASS
         STYLE
            COLOR 255 255 0
            SIZE 6
            SYMBOL "star"
         END
       END
 
  TOLERANCE    10
   HEADER './templates/lumcon_header.html'
   TEMPLATE    './templates/lumcon_query.html'
   FOOTER      './templates/lumcon_footer.html'
 
END # Layer
 
 
----Thanks! Carola



More information about the mapserver-users mailing list