[mapserver-dev] ms rfc 48: adding a type keyword to the styleblock

Tamas Szekeres szekerest at gmail.com
Thu Nov 6 05:09:41 EST 2008


2008/11/6 Steve Lime <Steve.Lime at dnr.state.mn.us>:
> When we first thought of style types it was limited to a couple simple options
> (begin, end, labelpnt, bbox). Of course ideas grow and operations like convex
> hulls or buffers sound doable. That immediately brings RFC 22 into my mind
> again. Tamas, how do you see this working with those ideas?
>

Steve,

This proposal provides a subset of what RFC 22 have been addressed.
However I like this idea because it's more lightweight, though it may
not support geometries from multiple features/layers in the
expressions and further options like feature caching regarding to the
queries is quite unrelated.

Getting back to this idea, we could gain further improvements by
supporting the attribute bindings with these expressions, like for
example:

 GEOMERTYEXPRESSION  "buffer(geom, [bufferattribute])"

And again, I'd support adding this both to the STYLE and the LAYER sections.

This member should also be exposed to the mapscript interface and it
would also be desirable to expose the transformation function as well
to be able to evaluate such expressions separately,like:

shapeObj shape2 = layer.TransformGeometry(geoexpression, shape)

Best regards,

Tamas


More information about the mapserver-dev mailing list