2

I downloaded Mexico City data from with QGIS, and I want to make a layer only with the banks. When I select "Export topology from SpatialLite", it shows a long list of all the properties and asks me to pick the properties I want to create a layer, but I don't know what property I can use to know if a building is a bank to make a layer of banks.

enter image description here

Is there a property that tells if a building is a bank?

8

Banks are tagged as amenity=bank so you need to look for the amenity key.

This tag can appear on nodes and ways. This means that you will not only get buildings but also individual POIs. Keep in mind that in OSM properties don't have to be added to buildings, adding a single POI node inside a building is perfectly valid. In fact this approach is necessary for all buildings that contain multiple POIs.

If you are also interested in individual ATMs outside of banks then take a look at amenity=atm, too.

  • 3
    You should add the name tag as well, to get something usable for rendering labels. – AndreJ Dec 13 '17 at 8:47
  • 1
    Yes and maybe brand, too. – scai Dec 13 '17 at 14:11
  • Thaks, for answering. I have another similar question. Do you know how can I know if something is a gas station? – Adrián Juárez Dec 14 '17 at 5:22
  • A search at the OSM wiki for "gas station" directly leads to amenity=fuel. – scai Dec 14 '17 at 7:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.