Mengekstrak Data Openstreetmap Dengan Menggunakan Overpass Turbo

Kita sudah familiar dengan peta dasar opensource yaitu Openstreetmap. Pada tutorial ini akan membahas mengenai cara untuk mengexport data OpenStreetMap  dengan menggunakan Overpass Turbo. dengan menggunakan Overpasss Turbo kita dapat melakukan query data openstreetmap yang lebih spesifik kemudian mendownload datanya tanpa perlu mendownload keseluruhan data Openstreetmap.

Overpass Turbo

Overpass Turbo merupakan website yang digunakan untuk melakukan query data openstreetmap dan juga mengekstrak data yang dapat berupa jalan, penutup lahan, infrastruktur, point of interes, dan data lainnya yang tersedia di Openstreetmap. Openstreetmap memiliki kategori objek yang dapat dilihat di OpenStreetMap wiki. Adapun contoh informasi yang terdapat pada Openstreetmap wiki sebagai berikut

Penggunaan website Overpass Turbo memiliki keterbatasan dalam melakukan ekstraksi data. Apabila data yang diekstrak terlalu banyak akan mengakibatkan data membutuhkan waktu lama untuk diproses dan akan memperlambar browser karena semua data yang diekstrak akan ditampilkan dalam browser. Apabila ingin mengekstrak data yang lebih banyak dapat menggunakan Overpass API, karena tanpa menggunakan interface peta namun berupa web service.

Overpass turbo ini dapat membantu dalam pengembangan overpass API dan mengekstrak data yang kecil.

Tampilan Website Overpass Turbo

Berikut beberapa bagian dari tampilan website Overpass Turbo:

Menu dari Overpass Turbo terdiri dari

  1. Run : Untuk menjalankan proses ekstraksi data berdasarkan kriteria query dalam texbox
  2. Share: untuk membagikan hasil query dalam bentuk url
  3. Export: untuk menyimpan hasil dari query
  4. Wizard: untuk mempermudah membuat query hanya dengan memasukkan kata kunci
  5. Save: untuk menyimpan parameter query
  6. Load: untuk membuka parameter query yang tersimpan dan contoh query yang telah disediakan
Tampilan textbox untuk memasukkan parameter query
Tampilan peta
tampilan data

Pada peta akan menampilkan hasil query dari overpass turbo sedangkan tampilan data akan menampilkan data hasil query dalam format xml openstreetmap yang dapat dicopy dan digunakan untuk keperluan lainnya.

Apabila masih belum pernah menggunakan Overpass Turbo dapat memanfaatkan contoh-contoh yang telah disediakan dan mempermudah untuk memahami bentuk parameter query dari Overpass Turbo. sebagai contoh “MapCSS styling” maka akan tampil sebagai berikut

Melakukan Query Overpass Turbo

Saat pertama kali membuka Overpass Turbo, code yang sudah ada sebagai berikut

/*
This is an example Overpass query.
Try it out by pressing the Run button above!
You can find more examples with the Load tool.
*/
node
  [amenity=drinking_water]
  ({{bbox}});
out;

Code ini akan melakukan query untuk data yang berupa tode/titik. Hasil query yaitu dengan key “amenity” dengan nilai “drinking_water” dengan data yang diambil sesuai dengan peta yang ditampilkan dalam tampilan peta. Data lainnya dapat dilihat dari  link OpenStreetMap wiki.

Setelah mendapatkan data sesuai keinginan di Overpass Turbo maka dapat menyimpan data tersebut dengan mengklik menu Export. Adapun jenis file yang dapat disimpat yaitu geoJSON, GPX, KML, dan data raw. Selain itu dapat juga disimpan sebagai web service sebagaimana gambar berikut.

Updated:

This Post Has 64 Comments

  1. Awsome post and right to the point. I don’t know if this is actually
    the best place to ask but do you guys have
    any thoughts on where to employ some professional writers?
    Thx 🙂

  2. What’s up, constantly i used to check weblog posts here in the early hours in the daylight, since i love to find out more and more.

  3. Aw, this was an exceptionally good post. Spending some time and actual effort to produce a superb article… but what can I say… I procrastinate a lot and don’t seem to get nearly anything done.

  4. An intriguing discussion is worth comment. I do think that you should write more about this subject, it might not be a taboo matter but usually people do not speak about such subjects. To the next! Kind regards.

  5. An impressive share! I have just forwarded this onto a colleague who had been doing a little homework on this. And he in fact ordered me lunch because I found it for him… lol. So let me reword this…. Thanks for the meal!! But yeah, thanx for spending time to talk about this subject here on your site.

  6. Your style is unique compared to other folks I have read stuff from. I appreciate you for posting when you’ve got the opportunity, Guess I will just book mark this site.

  7. Very good info. Lucky me I ran across your website by accident (stumbleupon). I have bookmarked it for later.

  8. I’m amazed, I have to admit. Rarely do I come across a blog that’s both equally educative and interesting, and let me tell you, you’ve hit the nail on the head. The issue is something which too few people are speaking intelligently about. Now i’m very happy that I came across this in my search for something relating to this.

  9. Good post. I learn something totally new and challenging on sites I stumbleupon everyday. It will always be interesting to read articles from other authors and practice something from their websites.

  10. Oh my goodness! Awesome article dude! Many thanks, However I am experiencing problems with your RSS. I don’t understand why I can’t join it. Is there anybody else getting the same RSS problems? Anyone that knows the answer will you kindly respond? Thanks!!

  11. After exploring a handful of the blog posts on your blog, I really appreciate your technique of blogging. I book-marked it to my bookmark website list and will be checking back soon. Take a look at my web site too and let me know how you feel.

  12. May I simply say what a relief to uncover an individual who actually understands what they’re talking about on the internet. You definitely know how to bring an issue to light and make it important. More and more people need to check this out and understand this side of your story. It’s surprising you are not more popular because you certainly have the gift.

  13. When I initially commented I appear to have clicked the -Notify me when new comments are added- checkbox and now every time a comment is added I receive four emails with the exact same comment. There has to be a way you are able to remove me from that service? Kudos.

  14. You’re so awesome! I do not suppose I’ve read something like that before. So good to find somebody with some genuine thoughts on this subject matter. Really.. many thanks for starting this up. This website is one thing that’s needed on the web, someone with a bit of originality.

  15. Hi, I do think this is a great web site. I stumbledupon it 😉 I am going to come back once again since I book marked it. Money and freedom is the best way to change, may you be rich and continue to guide other people.

  16. I was very pleased to discover this page. I need to to thank you for your time just for this wonderful read!! I definitely really liked every bit of it and I have you saved as a favorite to check out new things in your web site.

  17. Greetings, I do believe your website could be having browser compatibility problems. Whenever I take a look at your site in Safari, it looks fine however when opening in IE, it has some overlapping issues. I merely wanted to provide you with a quick heads up! Apart from that, wonderful website!

  18. Hello! Do you know if they make any plugins to assist
    with Search Engine Optimization? I’m trying to get my website
    to rank for some targeted keywords but I’m not seeing
    very good success. If you know of any please share.

    Many thanks! You can read similar art here: Eco blankets

  19. Howdy! I could have sworn I’ve been to this blog before but after going through many of the articles I realized it’s new to me. Anyhow, I’m definitely happy I stumbled upon it and I’ll be bookmarking it and checking back regularly!

  20. Oh my goodness! Amazing article dude! Thank you, However I am going through troubles with your RSS. I don’t know the reason why I can’t subscribe to it. Is there anybody having similar RSS issues? Anyone that knows the solution will you kindly respond? Thanx!

  21. An outstanding share! I have just forwarded this onto a co-worker who has been doing a little research on this. And he in fact ordered me lunch due to the fact that I stumbled upon it for him… lol. So let me reword this…. Thank YOU for the meal!! But yeah, thanx for spending the time to discuss this issue here on your website.

  22. I’d like to thank you for the efforts you have put in writing this website. I am hoping to see the same high-grade blog posts from you in the future as well. In truth, your creative writing abilities has motivated me to get my own site now 😉

  23. A motivating discussion is definitely worth comment. I do believe that you should publish more on this subject matter, it might not be a taboo subject but usually people don’t talk about these subjects. To the next! Best wishes!

  24. Hello there, I do think your web site could possibly be having internet browser compatibility problems. When I take a look at your web site in Safari, it looks fine however when opening in I.E., it’s got some overlapping issues. I just wanted to give you a quick heads up! Other than that, fantastic site!

  25. Right here is the perfect blog for anybody who hopes to find out about this topic. You realize a whole lot its almost tough to argue with you (not that I personally will need to…HaHa). You definitely put a new spin on a topic which has been discussed for many years. Excellent stuff, just great.

  26. Oh my goodness! Incredible article dude! Thank you so much, However I am going through difficulties with your RSS. I don’t understand why I am unable to join it. Is there anybody else getting similar RSS problems? Anyone who knows the solution can you kindly respond? Thanks.

  27. Hello there! I could have sworn I’ve been to your blog before but after looking at a few of the articles I realized it’s new to me. Regardless, I’m definitely delighted I came across it and I’ll be bookmarking it and checking back regularly.

  28. Hi! I just want to offer you a big thumbs up for your excellent information you have right here on this post. I’ll be coming back to your web site for more soon.

Leave a Reply