Skip to content

bocajim/goosm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

bc95dac · Nov 14, 2016

History

16 Commits
Aug 18, 2016
Jun 23, 2014
May 10, 2014
Nov 14, 2016
Nov 14, 2016
Aug 18, 2016

Repository files navigation

goosm

Build Status Go Report Card

Overview

"goosm" is a simple tool that reads Open Street Map XML files and imports them into MongoDB with proper geo-spatial indicies.

Important Notes

  • Some data in the WAY collection is filtered by this application for my specific needs, you may want to change this behavior.

Building

Pre-requisites

  • Must have go installed.
  • Must have bzr installed
  • Must be able to run shell scripts.
  • Must have internet access to download dependencies (via HTTPS).

Building

  • Checkout the project from github.com.
  • run build.sh (it will download all required dependencies automatically).

Running

  • -f <osm file to read>
  • -s <mongo server:port to connect to> (127.0.0.1:27017 default)
  • -db <name of mongodb database> (osm default)

Examples

goosm -f miami.osm

goosm -f miami.osm -db foo

goosm -f miami.osm -s 127.0.0.1:27017

About

Go application for importing OSM data into MongoDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published