[osmosis-dev] Tagfilter plugin: filter by key-values read
Raluca Martinescu
raluca.martinescu at skobbler.com
Wed Jun 6 07:57:07 BST 2012
Hi Peter,
Thanks for your feedback.
I'll implement the separate option (keyValueListFile) as you suggested and clone the repository on github.
Best regards,
Raluca
Date: Mon, 04 Jun 2012 18:16:38 +0200
From: Peter K?rner <osm-lists at mazdermind.de>
To: osmosis-dev at openstreetmap.org
Subject: Re: [osmosis-dev] Tagfilter plugin: filter by key-values read
from a file instead of comma separated values
Message-ID: <4FCCDF66.5070404 at mazdermind.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi
Thank you for your contribution!
Am 01.06.2012 15:05, schrieb Raluca Martinescu:
> For the*--node-key-value*and*--way-key-value*command line options I
> added also the possibility to read the key.value combinations from an
> external file,
No bad idea.
> specifying*keyValueList="file=<file_path>"*(if the
> keyValueList does not start with "file=", the option works as before).
I think a separate option would be a nicer way and would follow the conventions of the other calls more closely:
keyValueListFile="<file_path>"
> I've attached the code changes I've made (very small):
It's unusual to attach files on mails to mailinglists, as with 2000 subscribers it produces 2000x the size of your attachment as traffic on the server and on each client. That's a problem when you're in a low-bandwith location somewhere on this planet without VDSL.
The better approach would be to clone the repositroy on github
https://github.com/openstreetmap/osmosis
create a working branch in youer fork and send a pull request. This way it's easy to attach comments to the lines of your code and the merging for the maintainers is a one-click operation.
Regards,
Peter
More information about the osmosis-dev
mailing list