Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
shanghuiyang committed May 23, 2020
1 parent 65720ac commit fa89a7c
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,18 @@
Download nodes or ways by specific ids from open street map

## Install
to use this tool, you need to install osmosis first.
please refer to https://wiki.openstreetmap.org/wiki/Osmosis/Installation for installing it.
for example,
osmdownloader is dependent on [osmosis](https://wiki.openstreetmap.org/wiki/Osmosis). To use osmdownloader, you need to install osmosis first.
please refer to [Install Osmosis](https://wiki.openstreetmap.org/wiki/Osmosis/Installation) for learning how to install it.
```shell
# for MacOS
# install osmosis for MacOS
$ brew install osmosis
```

install source codes
```shell
$ go get github.com/shanghuiyang/osmdownloader
```
# get the source codes
$ go get -u github.com/shanghuiyang/osmdownloader

## Build
```shell
$ go build -o osmdownloader main.go
# build and install
$ cd $GOPATH/src/github.com/shanghuiyang/osmdownloader
$ go install
```

## Usage
Expand Down

0 comments on commit fa89a7c

Please sign in to comment.