openstreetmap/osmosis — pull request #6 by ralucamartinescu (2012-06-06 10:33:43+00:00)
Title: Added a new option (keyValueListFile) for --node-key-value and --way-key-value tagfilters

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, specifying the "keyValueListFile=" option (if "keyValueList" does not exist, "keyValueListFile" is read instead).

The reason for this change is that the initial way worked very good if you only needed to filter by couple of key.value combinations, but if you need to do this by, let's say 100 combinations, it's much more convenient to put it in a file.

Please review the code.