<div>Hi Bart,</div>
<div>Thanks, I put "gml_includes" and everything was ok, but now I have another two problems, one I don't know how to set SLD Styles I have my sld.xml but I can not use it, and two, the ExpresionBuilder Widget no recognice my type features, I am using TYPE (line, polygon, point) but happen nothing.
</div>
<div>Thanks again</div>
<div>regards</div>
<div>Mony<br><br> </div>
<div><span class="gmail_quote">2006/3/19, Bart van den Eijnden (OSGIS) <<a href="mailto:bartvde@xs4all.nl">bartvde@xs4all.nl</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Which Mapserver version are you using?<br><br>Try adding "gml_include_items" "all" to the METADATA section of your LAYERs.
<br><br>Best regards,<br>Bart<br><br>Mony wrote:<br><br>> Hi Bart, thanks twice,...for the link to Studio soft, and this answer.<br>> I did setup my WMS as WFS, in fact now I can open the<br>> expressionbuilder popup but I can not see any attribute I think that I
<br>> must use something like "RESULT_FIELDS" (like a regular map file) but<br>> I don't know how to da that.<br>> This is my WMS server map, maybe you can say me where is the error.<br>> Thanks a lot
<br>> regards<br>> *Mony*<br>><br>> MAP<br>><br>> NAME 'GORE_VALPARAISO'<br>><br>> SIZE 550 400<br>><br>> EXTENT -73.31 -34.87 -68.68 -31.21<br>><br>> UNITS meters<br>><br>> RESOLUTION 72
<br>><br>> CONFIG PROJ_LIB 'c:\ms4w\proj\nad\'<br>><br>> DATAPATTERN ''<br>><br>> TEMPLATEPATTERN ''<br>><br>> SHAPEPATH 'c:\ms4w\apps\gore-valparaiso\data\basegeo\'<br>><br>> SYMBOLSET 'c:\ms4w\apps\gore-valparaiso\etc\cb.sym'
<br>><br>> FONTSET 'c:\ms4w\apps\gore-valparaiso\etc\fonts.txt'<br>><br>> STATUS on<br>><br>> IMAGECOLOR 255 255 255<br>><br>> IMAGETYPE png24<br>><br>> STATUS on<br>><br>> DEBUG false<br>
><br>> WEB<br>><br>> MINSCALE 0<br>><br>> IMAGEPATH 'c:\ms4w\tmp\ms_tmp\'<br>><br>> IMAGEURL 'c:\ms4w\ms_tmp\'<br>><br>> LOG 'c:\ms4w\apps\gore-valparaiso\data\base\v1.log'<br>><br>> METADATA
<br>><br>> wms_extent "-73.31 -34.87 -68.68 -31.21"<br>><br>> wms_abstract "GORE V MapFile"<br>><br>> wms_encoding "ISO-8859-1"<br>><br>> wms_opaque "0"<br>>
<br>> #wms_accesscontraints "none"<br>><br>> wms_addresstype "OFICINA"<br>><br>> wms_address "MELGAREJO 669 PISO 7"<br>><br>> wms_city "VALPARAISO"<br>><br>> wms_stateorprovince "VALPARAISO"
<br>><br>> wms_postcode "238-0023"<br>><br>> wms_country "CHILE"<br>><br>> #wms_contactelectronicmailaddress "<a href="mailto:gmunizaga@gorevalparaiso.cl">gmunizaga@gorevalparaiso.cl
</a><br>> <mailto:<a href="mailto:gmunizaga@gorevalparaiso.cl">gmunizaga@gorevalparaiso.cl</a>>"<br>><br>> #wms_contactfacsimiletelephone "56-32-655252"<br>><br>> #wms_contactperson "Gonzalo Munizaga"
<br>><br>> #wms_contactorganization "Gobierno Regional de Valparaiso"<br>><br>> #wms_contactposition "Jefe Unidad SIG"<br>><br>> #wms_contactvoicetelephone "56-32-655283"<br>
><br>> #wms_feature_info_mime_type "NONE"<br>><br>> #wms_fees "none"<br>><br>> #wms_group_title ""<br>><br>> wms_keywordlist "GOBIERNO REGIONAL DE VALPARAISO"
<br>><br>> wms_title "GORE_VALPARAISO"<br>><br>> wms_timeformat "YYYY-MM-DDTHH, YYYY-MM-DDTHH:MM, YYYY-MM-DD HH:MM:SS"<br>><br>> wms_onlineresource "<a href="http://localhost/cgi-bin/mapserv.exe?map=cb.map&">
http://localhost/cgi-bin/mapserv.exe?map=cb.map&</a><br>> <<a href="http://localhost/cgi-bin/mapserv.exe?map=cb.map&">http://localhost/cgi-bin/mapserv.exe?map=cb.map&</a>>"<br>><br>> wms_srs "epsg:4326"
<br>><br>> wfs_onlineresource "<a href="http://localhost/cgi-bin/mapserv.exe?map=cb.map&">http://localhost/cgi-bin/mapserv.exe?map=cb.map&</a><br>> <<a href="http://localhost/cgi-bin/mapserv.exe?map=cb.map&">
http://localhost/cgi-bin/mapserv.exe?map=cb.map&</a>>"<br>><br>> wfs_title "GORE_VALPARAISO"<br>><br>> wfs_abstract "envisat_labpdi ** Gix Generated MapFile"<br>><br>> wfs_keywordlist "GORE_VALPARAISO"
<br>><br>> wfs_accessconstraints "none"<br>><br>> wfs_fees "none"<br>><br>> wfs_encoding "ISO-8859-1"<br>><br>> wfs_namespace_prefix "gore"<br>><br>> wfs_namespace_uri "
<a href="http://envisat_labpdi/View1">http://envisat_labpdi/View1</a>"<br>><br>> ows_schema_location "<a href="http://envisat_labpdi/schemas/">http://envisat_labpdi/schemas/</a>"<br>><br>> wfs_srs "epsg:4326"
<br>><br>> wfs_request_method "GET"<br>><br>> END #METADATA<br>><br>> END #WEB<br>><br>> PROJECTION<br>><br>> "init=epsg:4326"<br>><br>> END<br>><br>> REFERENCE
<br>><br>> IMAGE 'c:\ms4w\apps\gore-valparaiso\htdocs\imagenes\v1.jpg'<br>><br>> EXTENT -73.31 -34.87 -68.68 -31.21<br>><br>> STATUS on<br>><br>> COLOR -1 -1 -1<br>><br>> OUTLINECOLOR 255 255 0
<br>><br>> SIZE 110 120<br>><br>> #MARKER<br>><br>> #MARKERSIZE<br>><br>> #MINBOXSIZE<br>><br>> #MAXBOXSIZE<br>><br>> END #REFERENCE<br>><br>> LEGEND<br>><br>> IMAGECOLOR 255 255 255
<br>><br>> OUTLINECOLOR -1 -1 -1<br>><br>> KEYSIZE 18 12<br>><br>> KEYSPACING 2 2<br>><br>> POSTLABELCACHE true<br>><br>> POSITION ll<br>><br>> LABEL<br>><br>> ANTIALIAS true<br>>
<br>> BACKGROUNDCOLOR 255 255 255<br>><br>> BACKGROUNDSHADOWCOLOR -1 -1 -1<br>><br>> BACKGROUNDSHADOWSIZE 2 2<br>><br>> OUTLINECOLOR -1 -1 -1<br>><br>> COLOR 0 0 0<br>><br>> FONT 'sans'<br>
><br>> SIZE 10<br>><br>> TYPE truetype<br>><br>> END<br>><br>> STATUS on<br>><br>> END #LEGEND<br>><br>> SCALEBAR<br>><br>> BACKGROUNDCOLOR 255 255 255<br>><br>> COLOR 0 0 0
<br>><br>> IMAGECOLOR 255 255 255<br>><br>> INTERVALS 4<br>><br>> LABEL<br>><br>> COLOR 0 0 0<br>><br>> SIZE tiny<br>><br>> TYPE bitmap<br>><br>> ANTIALIAS true<br>><br>> END
<br>><br>> OUTLINECOLOR 0 0 0<br>><br>> POSITION lr<br>><br>> POSTLABELCACHE true<br>><br>> SIZE 200 4<br>><br>> STATUS on<br>><br>> STYLE 0<br>><br>> UNITS meters<br>><br>> END #SCALEBAR
<br>><br>> QUERYMAP<br>><br>> STYLE hilite<br>><br>> STATUS on<br>><br>> COLOR 255 255 0<br>><br>> END #QUERYMAP<br>><br>> #<br>><br>> # Start of layer definitions<br>><br>> #
<br>><br>> #################################################limites<br>> administrativos#################################<br>><br>> LAYER #Region<br>><br>> PROJECTION<br>><br>> "init=epsg:4326"
<br>><br>> END<br>><br>> TRANSPARENCY 100<br>><br>> NAME 'Region'<br>><br>> METADATA<br>><br>> gix_layername "Region"<br>><br>> WFS_layerfieldnames "NOMBRE"<br>><br>
> WMS_layerfieldnames "NOMBRE"<br>><br>> gix_layerfieldalias "Nombre"<br>><br>> wms_abstract "envisat_labpdi Region Gix Generated MapFile"<br>><br>> WMS_RESULT_FIELDS "NOMBRE"
<br>><br>> wms_extent "-72.57100144 -33.95557248 -69.97748160 -32.02029859"<br>><br>> wms_keywordlist "Region, envisat_labpdi, CARTOGRAFIA_BASE"<br>><br>> wms_opaque "0"<br>
><br>> wms_srs "epsg:4326"<br>><br>> wms_title "Region"<br>><br>> wms_layer_group "CARTOGRAFIA_BASE"<br>><br>> wms_queryable "true"<br>><br>> # wms_default "YYYY-MM-DD HH:MM:SS"
<br>><br>> # wms_timeextent ""<br>><br>> # wms_timeitem ""<br>><br>> wfs_title "Region"<br>><br>> wfs_abstract "envisat_labpdi Region.shp Gix Generated MapFile"
<br>><br>> wfs_keywordlist "View1, envisat_labpdi, Region.shp"<br>><br>> wfs_srs "epsg:4326"<br>><br>> END #METADATA<br>><br>> TOLERANCE 3<br>><br>> TOLERANCEUNITS pixels<br>
><br>> DATA 'region.shp'<br>><br>> HEADER 'header.html'<br>><br>> FOOTER 'footer.html'<br>><br>> LABELCACHE on<br>><br>> # TILEINDEX ''<br>><br>> # TILEITEM ''<br>><br>> STATUS off
<br>><br>> DEBUG true<br>><br>> TRANSFORM true<br>><br>> TYPE polygon<br>><br>> CLASS<br>><br>> NAME 'Region'<br>><br>> TEMPLATE 'template.html'<br>><br>> #RASTERFILL_STYLE_SOLID<br>
><br>> STYLE<br>><br>> COLOR 254 252 225<br>><br>> BACKGROUNDCOLOR 255 251 195<br>><br>> END #STYLE<br>><br>> #OUTLINE SYMBOL<br>><br>> STYLE<br>><br>> OUTLINECOLOR -1 -1 -1<br>>
<br>> SYMBOL 'Region--0--outline'<br>><br>> SIZE 1<br>><br>> END<br>><br>> END #CLASS<br>><br>> END #LAYER<br>><br>> OUTPUTFORMAT<br>><br>> NAME png24<br>><br>> DRIVER "GD/PNG"
<br>><br>> MIMETYPE "image/png"<br>><br>> IMAGEMODE RGBA<br>><br>> EXTENSION png<br>><br>> TRANSPARENT on<br>><br>> END #OUTPUTFORMAT<br>><br>> END #MAP<br>><br><br><br>--<br>
Bart van den Eijnden<br>OSGIS, Open Source GIS<br><a href="http://www.osgis.nl">http://www.osgis.nl</a><br><br></blockquote></div><br>