[mapserver-dev] call for vote on rfc 48

Steve Lime Steve.Lime at dnr.state.mn.us
Thu Dec 4 20:04:10 EST 2008


I worked backwards through the thread, sorry. Just wanted to note that the shortcut
notation would address Paul's concerns about [geom] in the short term. 

Steve

>>> "Steve Lime" <Steve.Lime at dnr.state.mn.us> 12/04/08 6:44 PM >>>
The square brackets associate something with a shape attribute. I consider the
geometry an attribute which is why [geom] (or [shape] or [geometry], pick one)
made sense to me.  

For now, for the unary operations supported in this RFC we could adopt a shortcut
notation and omit the ([geom]). We'd re-introduce that notation if we decide to take
things further. So for now you'd have:

  GEOMETRYTRANSFORM BBOX

and in the future we could support that and:

  GEOMETRYTRANSFORM BBOX([geom])

I'd favor the shortcuts for the initial implementation.

Steve

>>> "thomas bonfort" <thomas.bonfort at gmail.com> 12/04/08 2:10 PM >>>
On Thu, Dec 4, 2008 at 21:03, Daniel Morissette
<dmorissette at mapgears.com> wrote:
> thomas bonfort wrote:
>>
>> the square brackets are required, as they denote an argument that
>> depends on the data query. The aim would be to stay consistent if some
>> day we have something like buffer([geom],[distance]).
>
> Well, then the examples in the RFC need to be fixed since they don't have
> square brackets.

hmm, yes I see I missed some out. will correct.

>
>
>> I agree that the
>> notation is a bit awkward as "geom" has no linkage with the actual
>> data request.
>
> You had suggested in the previous RFC-48 thread that the square brackets
> could collide with the attribute binding syntax and proposed taking them
> away... and I agreed with that.

Steve was against that:
"
- syntax should use [geom] instead of plain geom in keeping with
expression syntax
"

I have no preference over one or the other.
_______________________________________________
mapserver-dev mailing list
mapserver-dev at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-dev

_______________________________________________
mapserver-dev mailing list
mapserver-dev at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-dev



More information about the mapserver-dev mailing list