2017 © Pedro Peláez
 

library nominatim-provider

Geocoder Nominatim adapter

image

geocoder-php/nominatim-provider

Geocoder Nominatim adapter

  • Sunday, July 8, 2018
  • by Nyholm
  • Repository
  • 3 Watchers
  • 3 Stars
  • 22,006 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 4 Versions
  • 61 % Grown

The README.md

Nominatim Geocoder provider

Build Status Latest Stable Version Total Downloads Monthly Downloads Code Coverage Quality Score Software License, (*1)

This is the Nominatim provider from the PHP Geocoder. This is a READ ONLY repository. See the main repo for information and documentation., (*2)

All usage of the Nominatim provider using nominatim.openstreetmap.org must follow the Nominatim Usage Policy !, (*3)

Install

composer require geocoder-php/nominatim-provider

Usage

If you want to use the "default" Nominatim instance (https://nominatim.openstreetmap.org/) :, (*4)

$provider = \Geocoder\Provider\Nominatim\Nominatim::withOpenStreetMapServer($httpClient, $userAgent);

If you want to specify yourself the server that will be used :, (*5)

$provider = new \Geocoder\Provider\Nominatim($httpClient, 'https://nominatim.openstreetmap.org', $userAgent);

Contribute

Contributions are very welcome! Send a pull request to the main repository or report any issues you find on the issue tracker., (*6)

The Versions