title: Look for specified place type with OpenStreetMap and Nominatim
body: <p>In my app, I use Leaflet with OpenStreetMap. I also use Nominatim to get place details. I want to check whether the place is gas station.
  But, when I point to gas station, and get place details, the JSON file often have different "type" property.
  It can be: </p>
  
  <pre><code>type: "fuel"   &lt;-- this is great
  or
  type: "convenience"
  or
  type: "yes"
  or maybe even other
  </code></pre>
  
  <p>Can I, somehow, specify if place is really a gas station?</p>
  
  <p>Example JSON output for a GAS STATION
  <a href="https://nominatim.openstreetmap.org/reverse?format=jsonv2&amp;lat=50.0487556&amp;lon=21.999057381458194" rel="nofollow noreferrer">https://nominatim.openstreetmap.org/reverse?format=jsonv2&amp;lat=50.0487556&amp;lon=21.999057381458194</a></p>
  
  <pre><code>place_id: 143194204, licence: "Data © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright", osm_type: "way", osm_id: 230603036, lat: "50.0487556", …}
  place_id: 143194204
  licence: "Data © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright"
  osm_type: "way"
  osm_id: 230603036
  lat: "50.0487556"
  lon: "21.999057381458194"
  place_rank: 30
  category: "shop"
  type: "convenience"
  importance: 0
  addresstype: "shop"
  name: "Orlen"
  display_name: "Orlen, 10, Warszawska, 1000-Lecia, Rzeszów, województwo podkarpackie, 35-205, Polska"
  address: {convenience: "Orlen", house_number: "10", road: "Warszawska", suburb: "1000-Lecia", city: "Rzeszów", …}
  boundingbox: (4) ["50.0486885", "50.0488243", "21.9989449", "21.9991699"]
  __proto__: Object
  </code></pre>
  
  <p>I considered using Google Places API with Geocoding API, but Geocoding requires billing account, so I'd not use that.</p>
  
  <p>EDIT:</p>
  
  <p>Thanks to below comment, I managed to get raw data from OSM by using osm_id from nominatim reverse geocoding call. Just use:
  <code>http://overpass-api.de/api/interpreter?data=[out:json];way(MY_OSM_ID);out;</code></p>