[Chameleon] EXPRESSIONBUILDER WIDGET
Bart van den Eijnden (OSGIS)
bartvde at xs4all.nl
Thu Mar 23 11:52:06 EST 2006
1) this is a Mapserver limitation, internally all types are string ....
nothing to do about except fund a Mapserver developer to change it
2) I don't get what you mean, maybe put a screendump online somewhere
illustrating the problem?
3) by default the expressionbuilder uses
chameleon\htdocs\widgets\sld\expressionbuilder.sld, so you could adapt
that one if you want a different styling, you should also be able to add
your own styles by using <style>, like:
<cwc2 type="ExpressionBuilder" visible="true"
styleresource="TextButtons" label="Build Filter"
image="icons/icon_expression_build.png" imagetip="Build Filter
Expression" popupwidth="700" popupheight="500" toolbar="false"
status="false" menubar="false" wildcard="@" singlechar="." escape="!">
<image state="normal"/>
<image state="selected"/>
<image state="hover"/>
<style name="Blue Points" sld="[$gszAppWebPath$]/styles.sld"
namedlayer="point" layertype="point"/>
<style name="Blue Lines" sld="[$gszAppWebPath$]styles.sld"
namedlayer="line" layertype="line"/>
<style name="Blue Polygons"
sld="[$gszAppWebPath$]styles.sld" namedlayer="polygon" layertype="polygon"/>
</cwc2>
Best regards,
Bart
Mony wrote:
>
> Hi Bart,
> Once again you are right,...thanks a lot!,
> Now the widget recognize the features but I have some questions, 1) my
> layer have fields as a number and as a string but in the list all of
> them appear as a string, why this happen?,.....2) When I make a
> question over the layer the result looks ok, but it is empty, I mean,
> I can see the result in the list layer box ( in this case like polygon
> red ), but without graphic element.,.......3)and finally!!!uf!,...how
> can I set an a SLD file to be used with an wmsor wfs map?
> best best regards
> Thanks
> Mony
>
>
> 2006/3/23, Eijnden, B. van den (Bart) <b.vdeijnden at agi.rws.minvenw.nl
> <mailto:b.vdeijnden at agi.rws.minvenw.nl>>:
>
> Hi,
>
> you need to define your layer type in your WFS server MAP file.
>
> Something like:
>
> "gml_geometries" "geometry" # name you want for the
> geometry attribute of your feature type
> "gml_geometry_type" "multipolygon" # geometry should be
> the value of gml_geometries!
>
> Best regards,
> Bart
>
>
>
> -----Oorspronkelijk bericht-----
> *Van:* chameleon-bounces at lists.maptools.org
> <mailto:chameleon-bounces at lists.maptools.org>
> [mailto:chameleon-bounces at lists.maptools.org
> <mailto:chameleon-bounces at lists.maptools.org>]*Namens *Mony
> *Verzonden:* donderdag 23 maart 2006 15:39
> *Aan:* Chameleon
> *Onderwerp:* [Chameleon] EXPRESSIONBUILDER WIDGET
>
> Hi all,
> I am using the expressionbuilder widget but I have problem
> with the type layer, no recognize if is LiNE pOLYGON OR POINT.
> Anyone can help me?
> thanks in advance
> bye
> Mony
>
>
> 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.
> ************************************************************************
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Chameleon mailing list
>Chameleon at lists.maptools.org
>http://lists.maptools.org/mailman/listinfo/chameleon
>
>
--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl
More information about the Chameleon
mailing list