X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/8c3a0efe8b75a06279998e66a932d8a56c483961..20d0fb35ce9d4d7c006a0e77dcf25edc2e8509b3:/docs/develop/overview.md?ds=sidebyside diff --git a/docs/develop/overview.md b/docs/develop/overview.md index c0a37a41..aedce990 100644 --- a/docs/develop/overview.md +++ b/docs/develop/overview.md @@ -9,16 +9,16 @@ the address computation and the search frontend. The __data import__ stage reads the raw OSM data and extracts all information that is useful for geocoding. This part is done by osm2pgsql, the same tool that can also be used to import a rendering database. It uses the special -gazetteer output plugin in `osm2pgsql/output-gazetter.[ch]pp`. The result of +gazetteer output plugin in `osm2pgsql/src/output-gazetter.[ch]pp`. The result of 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/pgSQL via database triggers -and can be found in the file `sql/functions.sql`. +and can be found in the files in the `sql/functions/` directory. 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. +returns the results in the requested format. This part is located in the +`nominatim-api` package. The source code can be found in `src/nominatim_api`.