[Chameleon] WMS ATTRIBUTES

Mony me.pezoa at gmail.com
Wed Mar 22 17:54:52 EST 2006


Hi Bart,
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.
Thanks again
regards
Mony


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


More information about the Chameleon mailing list