Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/provokateurin/osm-nominatim
https://github.com/provokateurin/osm-nominatim
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/provokateurin/osm-nominatim
- Owner: provokateurin
- License: gpl-3.0
- Created: 2020-08-10T13:20:01.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-08-07T15:29:55.000Z (5 months ago)
- Last Synced: 2024-12-12T13:37:03.482Z (11 days ago)
- Language: Dart
- Homepage: https://pub.dev/packages/osm_nominatim
- Size: 39.1 KB
- Stars: 10
- Watchers: 1
- Forks: 11
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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,
);
}
```