From 7e00a6e2ff8d7bd3f5f7773b657bad00830fd786 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Sun, 18 Feb 2018 13:11:35 +0000 Subject: [PATCH] Correct spelling mistakes. --- docs/admin/Faq.md | 2 +- lib/SearchContext.php | 2 +- lib/SearchDescription.php | 2 +- test/bdd/db/import/postcodes.feature | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/admin/Faq.md b/docs/admin/Faq.md index 470e936c..a1624d26 100644 --- a/docs/admin/Faq.md +++ b/docs/admin/Faq.md @@ -3,7 +3,7 @@ ### Can I import only a few countries and also keep them up to date? You should use the extracts and updates from https://download.geofabrik.de. -For the intial import, download the countries you need and merge them. +For the initial import, download the countries you need and merge them. See [OSM Help](https://help.openstreetmap.org/questions/48843/merging-two-or-more-geographical-areas-to-import-two-or-more-osm-files-in-nominatim) for examples how to do that. Use the resulting single osm file when running `setup.php`. diff --git a/lib/SearchContext.php b/lib/SearchContext.php index 3e722d87..b0ff38d8 100644 --- a/lib/SearchContext.php +++ b/lib/SearchContext.php @@ -47,7 +47,7 @@ class SearchContext /** * Get radius around reference point. * - * @return float Search radius around refernce point. + * @return float Search radius around reference point. */ public function nearRadius() { diff --git a/lib/SearchDescription.php b/lib/SearchDescription.php index 5431b3eb..4ba28e35 100644 --- a/lib/SearchDescription.php +++ b/lib/SearchDescription.php @@ -58,7 +58,7 @@ class SearchDescription /** * Get current search rank. * - * The higher the search rank the lower the likelyhood that the + * The higher the search rank the lower the likelihood that the * search is a correct interpretation of the search query. * * @return integer Search rank. diff --git a/test/bdd/db/import/postcodes.feature b/test/bdd/db/import/postcodes.feature index be469fe6..4c49dc5b 100644 --- a/test/bdd/db/import/postcodes.feature +++ b/test/bdd/db/import/postcodes.feature @@ -2,7 +2,7 @@ Feature: Import of postcodes Tests for postcode estimation - Scenario: Postcodes on the object are prefered over those on the address + Scenario: Postcodes on the object are preferred over those on the address Given the scene admin-areas And the named places | osm | class | type | admin | addr+postcode | geometry | -- 2.39.5