WFS Problems

Mark Christiano mark at EDC.URI.EDU
Wed May 3 12:05:46 EDT 2006


Hi Everyone,

My name is Mark Christiano, I am a research associate at the University
of Rhode Island and we are working toward developing a WFS that conforms
to the OGC standards.  I do a lot with GIS but not so much with web
design.  

Before I jump into getting to the OGC standards, I am having problems
serving out the WFS data.

I have been following the online document "WFS Servers with MapServer"
And my map.doc look very similar to the on-line example.  Except that it
does not work.

I think the problem maybe with the wfs_onlineresource.  (I pretty much
guess on that one)  For example, if I were to use Gaia to view this WFS,
I am not sure what to web address to type in to view the data.

All of the tests to see if the MapServer is working have come back
positive.  The software seems to be configured correctly.

I have pasted my Map File below.  I was hoping someone could give me
some direction.

Thanks a lot!

Mark

MAP
  NAME "WFS"
  STATUS ON
  EXTENT 200000 22000 450000 370000 
  SIZE 400 600 
  SHAPEPATH "../../../../../../../..//maplab-2.2.1/data"
  SYMBOLSET
"../../../../../../../..//maplab-2.2.1/tutorial/etc/symbols.sym"
  FONTSET "../../../../../../../..//maplab-2.2.1/tutorial/etc/fonts.txt"
  IMAGECOLOR 255 255 255
  UNITS FEET
  WEB
    IMAGEPATH "/ms4w/tmp/ms_tmp"
    IMAGEURL "/ms_tmp/"
    METADATA
      "wfs_title"    "WFS Server"
      "wfs_onlineresource"    "http://127.0.0.1/cgi-bin/mapserv.exe?"
      "wfs_srs"    "EPSG:32130"
      "ows_schemas_location"    ""
    END
  END
  PROJECTION
    "init=epsg:32130" 
  END
  LAYER
    NAME "State"
    STATUS ON
    DATA "../..//maplab-2.2.1/data/state"
    TYPE POLYGON
    CONNECTIONTYPE LOCAL
    UNITS FEET
    SIZEUNITS FEET
    POSTLABELCACHE TRUE
    METADATA
      "wfs_title"    "State"
      "gml_include_items"    "all"
    END
    PROJECTION
      "init=epsg:32130" 
    END
    DUMP TRUE
    CLASS
      NAME "Rhode Island"
      STYLE
        COLOR 200 255 0
        OUTLINECOLOR 120 120 120
      END
    END
  END
END

Mark Christiano
 
Research Associate
Environmental Data Center
University of Rhode Island
401-874-5054
Mark at edc.uri.edu



More information about the mapserver-users mailing list