title: shell script to generate a map
body: <p>I'd like to have a script (bash) to generate an img (gif, jpg, etc.) of a (openstreetmap or googlemap) map given a location, like this:</p>
  
  <pre><code>$ genmap.sh 45.5 9.5
  </code></pre>
  
  <p>(parameters are lat &amp; long)</p>
  
  <p>or:</p>
  
  <pre><code>$ genmap.sh 45.5 9.5 12
  </code></pre>
  
  <p>(parameters are lat &amp; long and zoom)</p>
  
  <p>etc. etc.</p>
  
  <p>can you point me to something on the net?</p>
  
  <p>thank you</p>