From fa89a7c89fe0ce1cf30fadb487360619f5420b1e Mon Sep 17 00:00:00 2001 From: Shanghui Yang Date: Sat, 23 May 2020 22:40:17 +0800 Subject: [PATCH] update readme --- README.md | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 53762a8..6881ed2 100644 --- a/README.md +++ b/README.md @@ -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