title: How to get the address by latitude and longitude using openstreetmap in android
body: <p>In my app I am using osm map. I have latitude and longitude.
  using this method</p>
  
  <pre><code>proj = mapView.getProjection();
          loc = (GeoPoint) proj.fromPixels((int) e.getX(), (int) e.getY());
          String longitude = Double
                  .toString(((double) loc.getLongitudeE6()) / 1000000);
          String latitude = Double
                  .toString(((double) loc.getLatitudeE6()) / 1000000);
          Toast toast = Toast.makeText(getApplicationContext(), "Longitude: "
                  + longitude + " Latitude: " + latitude, Toast.LENGTH_SHORT);
          toast.show();
  </code></pre>
  
  <p>So from here how I will query to get the city name from osm database. Please help me.
  How can I convert this into human understandable form. Here is my code which I am using.<a href="https://stackoverflow.com/questions/19464694/how-to-get-the-place-name-by-latitude-and-longitude-using-openstreetmap-in-andro?noredirect=1#comment28903911_19464694">link</a></p>