How to Download Surveillance in Bengaluru Data

Even though I have blogged about it in the original post about this, I keep getting asked this question, hence a dedicated blog post.

Everything we map goes directly to OpenStreetMap. The data on OpenStreetMap is available for free under ODBL. The easiest way to download Surveillance in Bengaluru data is from Overpass Turbo. I have written some queries below that you can use on Overpass Turbo to get the data. I also have a demo video for you.

How to Download Surveillance in Bengaluru Data using Overpass Turbo

What I consider Bengaluru for this project

/* 
Query to get all the surveillance in Bengaluru area defined by the bbox below. 
https://thejeshgn.com/tag/surveillance-in-bengaluru/
Thejesh GN
 */
[out:json][timeout:25];  
( 
    node["man_made"="surveillance"]   
    (
        12.755552799313914,77.36846923828125,13.282050683462236,77.81272888183594
    );
);
out body;
>;
out skel qt;

Admin area Bangalore or Bengaluru

/*
Query to get all the surveillance in Bengaluru area. 
https://thejeshgn.com/tag/surveillance-in-bengaluru/
Thejesh GN
*/
[out:json][timeout:25];
{{geocodeArea:"Bengaluru"}}->.searchArea;
(
  node["man_made"]["man_made"="surveillance"](area.searchArea);
);
out body;
>;
out skel qt;

For any area

/* 
Query to get all the surveillance in area defined by the bbox below. 
https://thejeshgn.com/tag/surveillance-in-bengaluru/
Thejesh GN
 */
[out:json][timeout:25];  
( 
    node["man_made"="surveillance"]   
    (
      {{bbox}}
    );
);
out body;
>;
out skel qt;

If you have built something using this data or planning to, let me know. I am curious.


You can read this blog using RSS Feed. But if you are the person who loves getting emails, then you can join my readers by signing up.

Join 2,245 other subscribers

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.