WFS Problems

Eijnden, B. van den (Bart) b.vdeijnden at AGI.RWS.MINVENW.NL
Thu May 4 03:12:41 EDT 2006


CONNECTIONTYPE LOCAL does not exist in Mapserver. Assuming your DATA is a
shapefile, just leave out the CONNECTIONTYPE part of your LAYER definition
at all.

Best regards,
Bart

-----Oorspronkelijk bericht-----
Van: UMN MapServer Users List
[mailto:MAPSERVER-USERS at LISTS.UMN.EDU]Namens Mark Christiano
Verzonden: woensdag 3 mei 2006 19:35
Aan: MAPSERVER-USERS at LISTS.UMN.EDU
Onderwerp: Re: [UMN_MAPSERVER-USERS] WFS Problems


Hi Tom,

I was hoping you could clarify for me the path name?

The path on my computer is
"C:/ms4w/apps/maplab-2.2.1/projects/gmf_projects/wfs_1.map" 

So all together it would be
http://127.0.0.1/cgi-bin/mapserv.exe?map=C:/ms4w/apps/maplab-2.2.1/proje
cts/gmf_projects/wfs_1.map&version=1.0.0&service=WFS&request=GetCapabili
ties  ? 

I tried this and got this as this error

getSymbol(): Symbol definition error. Parsing error near (LOCAL):(line
29)

Not sure where I am going wrong.

Thanks for the help.

Mark


-----Original Message-----
From: Kralidis,Tom [Burlington] [mailto:Tom.Kralidis at ec.gc.ca] 
Sent: Wednesday, May 03, 2006 12:29 PM
To: Mark Christiano; MAPSERVER-USERS at lists.umn.edu
Subject: RE: [UMN_MAPSERVER-USERS] WFS Problems


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
> 


Disclaimer
************************************************************************
Aan dit bericht kunnen geen rechten worden ontleend. Dit bericht is
uitsluitend bestemd voor de geadresseerde. Als u dit bericht per abuis
hebt ontvangen, wordt u verzocht het te vernietigen en de afzender te 
informeren. Wij adviseren u om bij twijfel over de juistheid of de 
volledigheid van de mail contact met afzender op te nemen.

This message shall not constitute any rights or obligations.
This message is intended solely for the addressee.
If you have received this message in error, please delete it and
notify the sender immediately. When in doubt whether this message
is correct or complete, please contact the sender.
************************************************************************



More information about the mapserver-users mailing list