title: Query Overpass API for roads in a specific country
body: <p>I'm trying to construct a query of all 'highway=' ways in a specific area in overpass. I've been defaulting to using the {{bbox}} - but I really would prefer to do it by country.</p>
  
  <p>I've tried using 'nominatimArea:' instead of {{bbox}} but I get a parse error ' line 8: parse error: ')' expected - '(' found. ' on the below:</p>
  
  <pre><code>/*
  This shows the roads in nepal.
  */
  
  [out:json];
  
  (
    way ["highway"~"motorway|trunk|primary|motorway_link|trunk_link|primary_link|unclassified|tertiary|secondary|track|path"]({{nominatimArea:Nepal}});
  );
  
  out meta;
  &gt;;
  out skel qt;
  </code></pre>
  
  <p>ALSO ... if I try this...I only (weirdly) get one area - no ways (maybe the relations are a mess?)</p>
  
  <pre><code>/*
  This shows the roads in nepal.
  */
  
  [out:json];
  
  (area[name="Nepal"];
    way(area) ["highway"~"motorway|trunk|primary|motorway_link|trunk_link|primary_link|unclassified|tertiary|secondary|track|path|residential|service"];
  );
  
  out meta;
  &gt;;
  out skel qt;
  </code></pre>
  
  <p>Returns this <a href="http://overpass-api.de/api/interpreter?data=[out%3Ajson]%3B%28area[%22name%22%3D%22Nepal%22]%3Bway%28area%29[%22highway%22~%22motorway%7Ctrunk%7Cprimary%7Cmotorway_link%7Ctrunk_link%7Cprimary_link%7Cunclassified%7Ctertiary%7Csecondary%7Ctrack%7Cpath%7Cresidential%7Cservice%22]%3B%29%3Bout%20meta%3B%3E%3Bout%20skel%20qt%3B%0A" rel="nofollow">one item</a> (and it is an area NOT a way)</p>
  
  <p>Note: I know this is a large query - but I really just need the url to the raw JSON (like <a href="http://overpass-api.de/api/interpreter?data=[out:json][timeout:25];%28node[%22building%22=%22yes%22]%2827.51314343580719,84.4683837890625,28.62551444875789,85.91720581054688%29-%3E.cr;node[%22building%22=%22damaged%22]%2827.51314343580719,84.4683837890625,28.62551444875789,85.91720581054688%29;node[%22building%22=%22collapsed%22]%2827.51314343580719,84.4683837890625,28.62551444875789,85.91720581054688%29;%29;out%20meta;%3E;out%20skel%20qt;" rel="nofollow">this</a>) - not the actual overpass map result. </p>