Skip to content
Osmosis is a command line Java application for processing OSM data.
Java Other
Failed to load latest commit information.
build-support Remove the osmpbf pre-compiled jar Mar 31, 2013
db-server Add pgsimple test database to db-server docker image Oct 28, 2015
gradle/wrapper build: Upgrade to gradle 2.4 Jun 3, 2015
osmosis-apidb Fix deprecation warnings resulting from dependency upgrades Sep 30, 2014
osmosis-areafilter Fix javadoc errors on JDK 1.8 Apr 16, 2014
osmosis-core build: Upgrade dependency versions Oct 29, 2015
osmosis-dataset Fix remaining 64-bit id tracking problems Jul 20, 2013
osmosis-extract Include osmosis prefix on project names Mar 30, 2013
osmosis-hstore-jdbc Update build to newest versions of dependent libraries Sep 30, 2014
osmosis-osm-binary osm-binary: Upgrade to protobuf 2.6.0 Oct 1, 2014
osmosis-pbf Update PBF project to use internal OSM Binary project Mar 31, 2013
osmosis-pbf2 Replace pbfmarshall project with osm-binary Apr 2, 2013
osmosis-pgsimple Upgrade to latest postgis library Oct 29, 2015
osmosis-pgsnapshot Upgrade to latest postgis library Oct 29, 2015
osmosis-replication-http replication-http: Upgrade to latest version of Netty Oct 29, 2015
osmosis-replication Merge pull request #20 from rory/fix-replication-url May 7, 2015
osmosis-set Fix deprecation warnings resulting from dependency upgrades Sep 30, 2014
osmosis-tagfilter Fix javadoc issues reported by JDK 1.8. Aug 1, 2014
osmosis-tagtransform Fix javadoc errors on JDK 1.8 Apr 16, 2014
osmosis-testutil Include osmosis prefix on project names Mar 30, 2013
osmosis-xml xml: Add runtime checks for unicode support Nov 2, 2015
package Update osmosis.bat Jul 14, 2015
.gitignore ide: Exclude IntelliJ build directory Nov 2, 2015
README Update README for gradle Nov 11, 2012
build.gradle build: Add IntelliJ IDE support Jun 3, 2015
gradle.properties replication-http: Upgrade to latest version of Netty Oct 29, 2015
gradlew Upgrade to gradle 1.4 Mar 24, 2013
gradlew.bat Add gradle wrapper Nov 11, 2012
settings.gradle db-server: Eclipse enable the new project Jan 7, 2015

README

Osmosis is a command line Java application for processing Open Street Map
(http://www.openstreetmap.org) data.

The tool consists of a series of pluggable components that can be chained
together to perform a larger operation. For example, it has components for
reading from database and from file, components for writing to database and to
file, components for deriving and applying change sets to data sources,
components for sorting data, etc. It has been written so that it is easy to add
new features without re-writing common tasks such as file or database handling.

Some brief build, running and installation notes are provided below, however
most documentation may be found on the project wiki page.
http://wiki.openstreetmap.org/wiki/Osmosis

**** BUILD ****
Osmosis is built using the Gradle (http://gradle.org) built tool, however
Gradle does not need to be installed.  The only requirements are a 1.6 JDK, and
an Internet connection.

Below are several commands useful to build the software.  All commands must be
run from the root of the source tree.
 
Build the software without running unit tests:
./gradlew assemble

Perform a complete build including unit tests:
./gradlew build

Clean the build tree:
./gradlew clean

Verify checkstyle compliance:
./gradlew checkstyleMain checkstyleTest

**** RUNNING ****
After completing the build process, a working Osmosis installation is contained
in the package sub-directory.  The Osmosis launcher scripts reside in the bin
sub-directory of package.  On a UNIX-like environment use the "osmosis" script,
on a Windows environment use the "osmosis.bat" script.

However, for installing the software it is recommended to use a distribution
archive described below.

**** INSTALLATION ****
After completing the build process, distribution archives in zip and tar gzipped
formats are contained in the package/build/distribution directory.  These
archives may be extracted to a location of your choice.  The bin sub-directory
should either be added to your PATH, or in the case of UNIX-like environments
the "osmosis" script may be symlinked into an existing directory already on the
PATH.
Something went wrong with that request. Please try again.