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

Stephen Woodbridge woodbri at swoodbridge.com
Thu Nov 6 17:00:34 EST 2008


thomas bonfort wrote:
> On Thu, Nov 6, 2008 at 22:10, Stephen Woodbridge
> <woodbri at swoodbridge.com> wrote:
> 
>>  I'm not sure if anyone would want to use these
> 
> the original intent of this rfc was to have something a bit more
> generic than directly adding arrowhead support, so this is getting a
> bit unwieldy  :)
> 
> The idea of having a single geometryexpression keyword leaves many
> possibilities as to the transformations of the original geometry, do
> you think that the nested expression stuff could be postponed? (I have
> limited time and ressources to get this in, but the concept appeals to
> me so I'd like to dig in further in the longer term)

I have not really thought about this much, an I do not have a burning 
need for it. So a simple transform now designed so that a more complex 
expression can be incorporated in the future would seem fine.

Another option might be to allow the mapscript guys to compute the 
geometry that the expression would work on. Something like:

this_geom = layer->get_layer_geometry();
while (visitor_func = get_next_mapscript_transform_callback()) {
    this_geom = visitor_func(this_geom);
}

do something with this_geom

When time and resources are limited -- keep it simple! So cut it back to 
what you can do given your time and resources and if others need more, 
let them speak up and/or offer additional resources or options.

-Steve W.


More information about the mapserver-dev mailing list