WFS Problems

Kralidis,Tom [Burlington] Tom.Kralidis at EC.GC.CA
Wed May 3 12:28:36 EDT 2006


Hi Mark,

What happens when you try:

http://127.0.0.1/cgi-bin/mapserv.exe?map=$MAPFILE&version=1.0.0&service=
WFS&request=GetCapabilities

(where $MAPFILE is the file path to your .map file)

Also, you might want to take a look at the MapServer OGC Web Services
Workshop (http://www.maptools.org/ms4w/index.phtml?page=downloads.html).

Hope this helps.

..Tom


> -----Original Message-----
> From: UMN MapServer Users List 
> [mailto:MAPSERVER-USERS at lists.umn.edu] On Behalf Of Mark Christiano
> Sent: Wednesday, May 03, 2006 12:06 PM
> To: MAPSERVER-USERS at lists.umn.edu
> Subject: [UMN_MAPSERVER-USERS] WFS Problems
> 
> 
> 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