Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/provokateurin/osm-nominatim


https://github.com/provokateurin/osm-nominatim

Last synced: 7 days ago
JSON representation

Awesome Lists containing this project

README

        

A library to perform OSM Nominatim searches also supporting reverse searches.
The documentation comments are mostly copied from [https://nominatim.org/release-docs/latest](https://nominatim.org/release-docs/latest).

## Usage
```dart
import 'package:osm_nominatim/osm_nominatim.dart';

Future main() async {
final searchResult = await Nominatim.searchByName(
query: 'bakery in berlin wedding',
limit: 1,
addressDetails: true,
extraTags: true,
nameDetails: true,
);
final reverseSearchResult = await Nominatim.reverseSearch(
lat: 50.1,
lon: 6.2,
addressDetails: true,
extraTags: true,
nameDetails: true,
);
}
```