On Fri, Nov 20, 2009 at 11:00 AM, Andrew Byrd <[email protected]> wrote:
> > Ideally there would be no need for a separator character, because the > same key could be specified several times for one filter. However, > Osmosis stores task parameters in a hashmap, so each parameter can > have only one value per task. This means that having the same one > appear several times ( --tag-filter key=x key=y ... ), while it would > be convenient and easily readable, is contrary to the design of > Osmosis. Separator character seems unavoidable. > Yep, could be tricky to allow a task parameter to be specified multiple times. > > The wildcard character, the '=' character, and the separator must be > escaped somehow. We cannot use \= because Osmosis will still split the > parameter on the '=' character. Maybe something like @ASTERISK @COMMA > @EQUALS and a double @@ to really insist on a true at character. > If you think the Osmosis current behaviour of splitting at '=' is too simplistic, feel free to enhance it to allow the '\=' to be escaped. Brett
_______________________________________________ osmosis-dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/osmosis-dev
