Osmosis is a command line Java application for processing OSM data.