[osmosis-dev] WayKeyFilter

Brett Henderson brett at bretth.com
Fri Nov 20 00:47:21 GMT 2009


On Fri, Nov 20, 2009 at 11:15 AM, Andrew Byrd <andrew at fastmail.net> wrote:

>
> On 19 Nov 2009, at 23:11, Brett Henderson wrote:
>
>>
>> I think filters should behave consistently rather than having each entity
>> type treated differently for a particular use case convenience.  Usually I
>> try to avoid changing existing behaviour, but only if there's a reasonable
>> alternative.  If the current filters are inconsistent I think we should
>> change them.  If we are going to break existing behaviour though I think we
>> should attempt to make all the breaking changes at once rather than
>> dribbling them in over a longer period.
>>
>
> The would be no need to break immediately with existing tasks. It looks to
> me like the best way to make the filters consistent is to put them all in
> the same task. It would have a different name and could live alongside the
> others as long as necessary.


Great, sounds good.


>
>
>  Yep, I think we'd have to escape the separating character if it is
>> included in the key.  Given the rarity of something like a ',' in a tag
>> name, I don't think there's an issue with requiring users to escape it when
>> it does occur.
>>
>
> Shouldn't be too hard, and it's necessary for completeness. I came upon a
> big mailing list debate about restricting the grammar of tag keys, and I see
> that there is a strong desire to prevent the technical details from letting
> people tag whatever they want however they want, for encouraging worldwide
> use.


Yep, I was uncomfortable with the current tasks not supporting all
characters.


>
>
>  I'm gonna take a back seat on this one :-)  If you have some time to
>> gather some requirements, tidy up the existing tasks, and add new features
>> then go for it.
>>
>
> Actually, Peter's suggestion is really good and seems complete. I'll wait
> and see if anyone suggests anything else over the next few days, and then
> try to implement something.
>

Cool, all sounds good.

Brett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20091120/308ce567/attachment.html>


More information about the osmosis-dev mailing list