OpenStreetMap標誌 OpenStreetMap

The weather is nice and I want to go out mapping a little later. It would be nice to have a file and map with things that I wanted to check. Today I will use Overpass Turbo, a great web interface to the Overpass API that gives you all the tools you need to create a quick Survey Kit that you can take with you: a map you can print, and a GPX file to put on your phone or GPS receiver.

Let’s say I am interested in businesses that have no opening hours so I can go and add those while I am out. This is a query that would give you exactly that. It is probably not complete and could maybe be simpler, but it is quick for small areas and it does what I need :)

I run this query on a commercial / retail area near my house:

I can then export this as a PNG map to print

And as a GPX file I can put on my Garmin:

And I’m ready to roll!

電郵圖示 Bluesky圖示 Facebook圖示 LinkedIn圖示 Mastodon圖示 Telegram圖示 X圖示

討論

mmd2018年6月2日18:51發表的評論

Try nwr instead of node to also include ways and relations, and finally out center meta; to get all center points of those hits. Export to gpx and everything else should be as described in your blog post.

mvexel2018年6月2日19:11發表的評論

Thanks mmd! I was hoping for a quality Overpass tip to improve the query :)

Like this ?

mvexel2018年6月2日19:13發表的評論

Or rather, this (forgot one node)

RobJN2018年6月2日21:16發表的評論

Awesome. I’ve never thought of exporting a Overpass Query to PNG to allow me to print it for on the ground mapping.

By the way: For opening hours there is the (Android only) StreetComplete app that may interest you.

mvexel2018年6月3日17:14發表的評論

RobJN, thanks for the StreetComplete reminder. I do know that app. I don’t have an android phone currently, but it’s a great option for those who do.

DevonshireBoy422018年6月4日07:49發表的評論

If you can find a tool to apply Travelling Salesman routing to the nodes that would be fantastic!

登入以留言