Code Monkey home page Code Monkey logo

osmosis's Introduction

Osmosis

Build Status

Overview

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

Installation

It is recommended to use a pre-built distribution archive rather than compile from source. The location of the latest builds are specified on the project wiki. 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.

Development

The easiest way to perform a full Osmosis build is to use the docker-based development environment. If you have docker and docker-compose installed, simply run the following command to build and launch a shell with everything required to run the full build and test suite.

./docker.sh

Osmosis is built using the Gradle (http://gradle.org) build tool. Gradle itself does not need to be installed because the gradlew script will install Gradle on first usage. The only requirements are a 1.7 JDK, and an Internet connection. Note that in the docker environment all downloads will still occur and be cached in your home directory.

Below are several commands useful to build the software. All commands must be run from the root of the source tree.

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

Build the software without running unit tests:

./gradlew assemble

Clean the build tree: ./gradlew clean

Generate project files to allow the project to be imported into IntelliJ.

./gradlew idea

Generate project files to allow the project to be imported into Eclipse.

./gradlew eclipse

Verify checkstyle compliance: ./gradlew checkstyleMain checkstyleTest

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.

Distribution archives in zip and tar gzipped formats are contained in the package/build/distribution directory.

Issue Tracking

See https://trac.openstreetmap.org/query?status=!closed&component=osmosis

osmosis's People

Contributors

brettch avatar scrosby avatar siliconfiend avatar woodpeck avatar toebee avatar jeffreyeriksondg avatar pnorman avatar sebastic avatar iandees avatar simonpoole avatar stefanb avatar vitalymil avatar tomhughes avatar stephankn avatar rhansen avatar ralucamartinescu avatar mazdermind avatar jocelynj avatar spyhunter99 avatar danielkaneider avatar gschmidtee avatar zverik avatar mbouchard8915 avatar gagern avatar zerebubuth avatar ppawel avatar priteau avatar sebkur avatar ivanttt avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.