Last active
March 10, 2021 07:15
-
-
Save typebrook/e27e0213666a3f1cbebf54257eba9bf2 to your computer and use it in GitHub Desktop.
Remove changeset from cmi3j89d9o #osm #editor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
all: final.osc | |
clean: | |
rm *.list *.osm *.osc | |
#OVERPASS_API := https://overpass-api.de/api/interpreter | |
OVERPASS_API := https://overpass.nchc.org.tw/api/interpreter | |
TAIWAN_BBOX := 20.72799,118.1036,26.60305,122.9312 | |
USER := cmi3j89d9o | |
# 使用NCHC OverPass Server | |
# 取得臺灣內, 使用者為指定名稱, 且版本為1的way資料 | |
bad.osm: | |
echo "[out:xml]; way(user:$(USER))(if: version() == 1)($(TAIWAN_BBOX)); out meta;" | \ | |
curl -d @- -X POST $(OVERPASS_API) >$@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment