[mapserver-dev] ms rfc 48: adding a type keyword to the styleblock
Tamas Szekeres
szekerest at gmail.com
Thu Nov 6 16:05:24 EST 2008
2008/11/6 thomas bonfort <thomas.bonfort at gmail.com>:
> in my understanding, the geometryexpression keyword already applies to
> the geometry that mapserver is treating, i.e.
> GEOMETRYEXPRESSION "centroid"
> would be enough.
>
> do you see a use-case where an argument would be passed eg. to centroid() ?
>
Yes, when using nested functions for example:
GEOMETRYEXPRESSION "centroid(bbox([geom]))"
And we might also want to place the input into 2 or more locations in
the expression, like
GEOMETRYEXPRESSION "difference(buffer([geom], 10), [geom])"
In this case denoting the input is quite inevitable.
Best regards,
Tamas
More information about the mapserver-dev
mailing list