X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/5c8fbe8186ea0fa06b7c96f08e8afba1744492c1..eebc72b2bc4a653ed7fef8900edc6e2b0295d001:/docs/develop/overview.md diff --git a/docs/develop/overview.md b/docs/develop/overview.md index 179eeb0b..c0a37a41 100644 --- a/docs/develop/overview.md +++ b/docs/develop/overview.md @@ -1,6 +1,6 @@ # Basic Architecture -Nominatim provides geocoding based on OpenStreetMap data. It uses a Postgresql +Nominatim provides geocoding based on OpenStreetMap data. It uses a PostgreSQL database as a backend for storing the data. There are three basic parts to Nominatim's architecture: the data import, @@ -15,10 +15,10 @@ the import can be found in the database table `place`. The __address computation__ or __indexing__ stage takes the data from `place` and adds additional information needed for geocoding. It ranks the places by importance, links objects that belong together and computes addresses and -the search index. Most of this work is done in Pl/pqSQL via database triggers +the search index. Most of this work is done in PL/pgSQL via database triggers and can be found in the file `sql/functions.sql`. -The __search frontend__ implements the actual API. It takes queries for -search and reverse geocoding queries from the user, looks up the data and +The __search frontend__ implements the actual API. It takes search +and reverse geocoding queries from the user, looks up the data and returns the results in the requested format. This part is written in PHP and can be found in the `lib/` and `website/` directories.