All Downloads are FREE. Search and download functionalities are using the official Maven repository.

natim-api.1.0.0.source-code.README.md Maven / Gradle / Ivy

Go to download

Java library for reverse geocoding using Nominatim API nominatim.openstreetmap.org

The newest version!
# Nominatim-API
Java library for reverse geocoding using Nominatim API [nominatim.openstreetmap.org](https://nominatim.openstreetmap.org/)

## Maven Dependency
```

  me.atlis
  nominatim-api
  RELEASE

```

## Usage

Very simple.

```
Double latitude = 40.7470;
Double longitude = -73.9860;
Double radius = 5.0;
MapRegion mapRegion = new MapRegion().buildMapRegion(latitude, longitude, radius);
PanoramioImages panoramioImages = PanoramioAPI.with().getImagesForLocation(Arrays.asList(mapRegion));
List images = panoramioImages.getPhotos();
```

PanoramioAPI is thread safe singleton.

## Dependencies

* [Google GSON](https://github.com/google/gson)
* [Apache Commons Lang](http://commons.apache.org/proper/commons-lang/)
* [Apache Log4J](http://logging.apache.org/log4j/2.x/)

## License

LGPL. See LICENSE file for details.






© 2015 - 2025 Weber Informatics LLC | Privacy Policy