wfs server problem

Bart van den Eijnden BEN at SYNCERA-ITSOLUTIONS.NL
Thu Aug 25 07:34:53 PDT 2005


When you are doing a GetCapabilities, what is your URL?

Do you add &service=WFS&request=GetCapabilities&version=1.0.0
?

otherwise probably the default is the WMS capabilities and you miss "wms_title" METADATA for that. If you want to be shorter, use the more general ows_title and leave out wfs_title and wms_title.

Best regards,
Bart

Bart van den Eijnden
Syncera IT Solutions
Postbus 270
2600 AG  DELFT

tel.nr.: 015-7512436
email: BEN at Syncera-ITSolutions.nl

>>> Mehdi Kiman <oubinny at HOTMAIL.COM> 08/25/05 4:29 pm >>>
Hi,

I have a problem with my WFS server, i tried to configure it.
My MapFile is correct :
MAP
NAME "Pays_nee_de_la_mer"
DEBUG on
SIZE 600 400
STATUS ON

EXTENT 310559.98 2147175.0 335547.03 2176659.97
FONTSET "../data/fonts.txt"
UNITS METERS
SHAPEPATH "../data/data_map/"

WEB
  IMAGEPATH 'C:/tmp/ms_tmp/'
  IMAGEURL  '/ms_tmp/'
  METADATA
      "wfs_title"                  "wfs Pays Ne de La Mer"
      "wfs_onlineresource"  
"http://emir:8080/cgi-bin/mywfs.exe?config_wfs.map&"
      "wfs_srs"                   "epsg:27582"
      "wfs_feature_info_mime_type" "text/html"
   END
END

LAYER
    CONNECTIONTYPE OGR
    CONNECTION "../data/data_map/Parcelles.TAB"

	NAME "Parcelles"

	TYPE POLYGON
	STATUS ON
	#STYLEITEM "AUTO"

	CLASS
		NAME "Parcelles"
		TEMPLATE "ttt.html"
		STYLE
		COLOR 255 255 0
		OUTLINECOLOR 0 0 2
		END
	END
	METADATA
	"wfs_title" "Parcelles"
	"wfs_srs"   "epsg:27582"
	END
	PROJECTION
   "init=epsg:27582"
	END
END

And when i make a GetCapabilities, i have this kind of error for each layer  
  :

<!-- WARNING: Mandatory metadata '..._title' was missing in this context. 
-->

What's wrong with my server ?


Thanks
Mehdi



More information about the MapServer-users mailing list