mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
check and fix all liks in documentation
This commit is contained in:
@@ -166,4 +166,4 @@ NOMINATIM_DATABASE_MODULE_PATH="<directory on the database server where nominati
|
|||||||
```
|
```
|
||||||
|
|
||||||
Now change the `NOMINATIM_DATABASE_DSN` to point to your remote server and continue
|
Now change the `NOMINATIM_DATABASE_DSN` to point to your remote server and continue
|
||||||
to follow the [standard instructions for importing](/admin/Import).
|
to follow the [standard instructions for importing](Import.md).
|
||||||
|
|||||||
@@ -134,7 +134,7 @@ On CentOS v7 the PostgreSQL server is started with `systemd`. Check if
|
|||||||
`/usr/lib/systemd/system/httpd.service` contains a line `PrivateTmp=true`. If
|
`/usr/lib/systemd/system/httpd.service` contains a line `PrivateTmp=true`. If
|
||||||
so then Apache cannot see the `/tmp/.s.PGSQL.5432` file. It's a good security
|
so then Apache cannot see the `/tmp/.s.PGSQL.5432` file. It's a good security
|
||||||
feature, so use the
|
feature, so use the
|
||||||
[preferred solution](../appendix/Install-on-Centos-7/#adding-selinux-security-settings).
|
[preferred solution](../appendix/Install-on-Centos-7.md#adding-selinux-security-settings).
|
||||||
|
|
||||||
However, you can solve this the quick and dirty way by commenting out that line and then run
|
However, you can solve this the quick and dirty way by commenting out that line and then run
|
||||||
|
|
||||||
@@ -182,7 +182,7 @@ by everybody, e.g.
|
|||||||
Try `chmod a+r nominatim.so; chmod a+x nominatim.so`.
|
Try `chmod a+r nominatim.so; chmod a+x nominatim.so`.
|
||||||
|
|
||||||
When running SELinux, make sure that the
|
When running SELinux, make sure that the
|
||||||
[context is set up correctly](../appendix/Install-on-Centos-7/#adding-selinux-security-settings).
|
[context is set up correctly](../appendix/Install-on-Centos-7.md#adding-selinux-security-settings).
|
||||||
|
|
||||||
When you recently updated your operating system, updated PostgreSQL to
|
When you recently updated your operating system, updated PostgreSQL to
|
||||||
a new version or moved files (e.g. the build directory) you should
|
a new version or moved files (e.g. the build directory) you should
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ If you only need geocoding for a smaller region, then precomputed OSM extracts
|
|||||||
are a good way to reduce the database size and import time.
|
are a good way to reduce the database size and import time.
|
||||||
[Geofabrik](https://download.geofabrik.de) offers extracts for most countries.
|
[Geofabrik](https://download.geofabrik.de) offers extracts for most countries.
|
||||||
They even have daily updates which can be used with the update process described
|
They even have daily updates which can be used with the update process described
|
||||||
[in the next section](../Update). There are also
|
[in the next section](Update.md). There are also
|
||||||
[other providers for extracts](https://wiki.openstreetmap.org/wiki/Planet.osm#Downloading).
|
[other providers for extracts](https://wiki.openstreetmap.org/wiki/Planet.osm#Downloading).
|
||||||
|
|
||||||
Please be aware that some extracts are not cut exactly along the country
|
Please be aware that some extracts are not cut exactly along the country
|
||||||
@@ -139,7 +139,7 @@ database or reuse the space later.
|
|||||||
|
|
||||||
!!! warning
|
!!! warning
|
||||||
The datastructure for updates are also required when adding additional data
|
The datastructure for updates are also required when adding additional data
|
||||||
after the import, for example [TIGER housenumber data](Customization#installing-tiger-housenumber-data-for-the-us).
|
after the import, for example [TIGER housenumber data](../customize/Tiger.md).
|
||||||
If you plan to use those, you must not use the `--no-updates` parameter.
|
If you plan to use those, you must not use the `--no-updates` parameter.
|
||||||
Do a normal import, add the external data and once you are done with
|
Do a normal import, add the external data and once you are done with
|
||||||
everything run `nominatim freeze`.
|
everything run `nominatim freeze`.
|
||||||
@@ -191,7 +191,7 @@ full | 54h | 640 GB | 330 GB
|
|||||||
extratags | 54h | 650 GB | 340 GB
|
extratags | 54h | 650 GB | 340 GB
|
||||||
|
|
||||||
You can also customize the styles further.
|
You can also customize the styles further.
|
||||||
A [description of the style format](../customize/Import-Styles.md)
|
A [description of the style format](../customize/Import-Styles.md)
|
||||||
can be found in the customization guide.
|
can be found in the customization guide.
|
||||||
|
|
||||||
## Initial import of the data
|
## Initial import of the data
|
||||||
@@ -208,7 +208,7 @@ nominatim import --osm-file <data file> 2>&1 | tee setup.log
|
|||||||
```
|
```
|
||||||
|
|
||||||
The **project directory** is the one that you have set up at the beginning.
|
The **project directory** is the one that you have set up at the beginning.
|
||||||
See [creating the project directory](Import#creating-the-project-directory).
|
See [creating the project directory](#creating-the-project-directory).
|
||||||
|
|
||||||
### Notes on full planet imports
|
### Notes on full planet imports
|
||||||
|
|
||||||
@@ -227,7 +227,7 @@ to load the OSM data into the PostgreSQL database. This step is very demanding
|
|||||||
in terms of RAM usage. osm2pgsql and PostgreSQL are running in parallel at
|
in terms of RAM usage. osm2pgsql and PostgreSQL are running in parallel at
|
||||||
this point. PostgreSQL blocks at least the part of RAM that has been configured
|
this point. PostgreSQL blocks at least the part of RAM that has been configured
|
||||||
with the `shared_buffers` parameter during
|
with the `shared_buffers` parameter during
|
||||||
[PostgreSQL tuning](Installation#postgresql-tuning)
|
[PostgreSQL tuning](Installation.md#postgresql-tuning)
|
||||||
and needs some memory on top of that. osm2pgsql needs at least 2GB of RAM for
|
and needs some memory on top of that. osm2pgsql needs at least 2GB of RAM for
|
||||||
its internal data structures, potentially more when it has to process very large
|
its internal data structures, potentially more when it has to process very large
|
||||||
relations. In addition it needs to maintain a cache for node locations. The size
|
relations. In addition it needs to maintain a cache for node locations. The size
|
||||||
@@ -286,7 +286,7 @@ performance becomes an issue. Just make sure that updates are stopped before
|
|||||||
running this function.
|
running this function.
|
||||||
|
|
||||||
If you want to be able to search for places by their type through
|
If you want to be able to search for places by their type through
|
||||||
[special key phrases](https://wiki.openstreetmap.org/wiki/Nominatim/Special_Phrases)
|
[special phrases](https://wiki.openstreetmap.org/wiki/Nominatim/Special_Phrases)
|
||||||
you also need to import these key phrases like this:
|
you also need to import these key phrases like this:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -297,4 +297,4 @@ Note that this command downloads the phrases from the wiki link above. You
|
|||||||
need internet access for the step.
|
need internet access for the step.
|
||||||
|
|
||||||
You can also import special phrases from a csv file, for more
|
You can also import special phrases from a csv file, for more
|
||||||
information please read the [Customization chapter](Customization.md).
|
information please see the [Customization part](../customize/Special-Phrases.md).
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ done
|
|||||||
|
|
||||||
The debugging UI is no longer directly provided with Nominatim. Instead we
|
The debugging UI is no longer directly provided with Nominatim. Instead we
|
||||||
now provide a simple Javascript application. Please refer to
|
now provide a simple Javascript application. Please refer to
|
||||||
[Setting up the Nominatim UI](../Setup-Nominatim-UI) for details on how to
|
[Setting up the Nominatim UI](Setup-Nominatim-UI.md) for details on how to
|
||||||
set up the UI.
|
set up the UI.
|
||||||
|
|
||||||
The icons served together with the API responses have been moved to the
|
The icons served together with the API responses have been moved to the
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ it contains the county/state/country across the border.
|
|||||||
#### 3. I get different counties/states/countries when I change the zoom parameter in the reverse query. How is that possible?
|
#### 3. I get different counties/states/countries when I change the zoom parameter in the reverse query. How is that possible?
|
||||||
|
|
||||||
This is basically the same problem as in the previous answer.
|
This is basically the same problem as in the previous answer.
|
||||||
The zoom level influences at which [search rank](https://wiki.openstreetmap.org/wiki/Nominatim/Development_overview#Country_to_street_level) Nominatim starts looking
|
The zoom level influences at which [search rank](../customize/Ranking.md#search-rank) Nominatim starts looking
|
||||||
for the closest object. So the closest house number maybe on one side of the
|
for the closest object. So the closest house number maybe on one side of the
|
||||||
border while the closest street is on the other. As the address details contain
|
border while the closest street is on the other. As the address details contain
|
||||||
the address of the closest object found, you might sometimes get one result,
|
the address of the closest object found, you might sometimes get one result,
|
||||||
|
|||||||
@@ -27,8 +27,8 @@ The search term may be specified with two different sets of parameters:
|
|||||||
|
|
||||||
Free-form query string to search for.
|
Free-form query string to search for.
|
||||||
Free-form queries are processed first left-to-right and then right-to-left if that fails. So you may search for
|
Free-form queries are processed first left-to-right and then right-to-left if that fails. So you may search for
|
||||||
[pilkington avenue, birmingham](//nominatim.openstreetmap.org/search?q=pilkington+avenue,birmingham) as well as for
|
[pilkington avenue, birmingham](https://nominatim.openstreetmap.org/search?q=pilkington+avenue,birmingham) as well as for
|
||||||
[birmingham, pilkington avenue](//nominatim.openstreetmap.org/search?q=birmingham,+pilkington+avenue).
|
[birmingham, pilkington avenue](https://nominatim.openstreetmap.org/search?q=birmingham,+pilkington+avenue).
|
||||||
Commas are optional, but improve performance by reducing the complexity of the search.
|
Commas are optional, but improve performance by reducing the complexity of the search.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -7,8 +7,8 @@ tag of every object and then assign the tag its specific role.
|
|||||||
|
|
||||||
The style to use is given by the `NOMINATIM_IMPORT_STYLE` configuration
|
The style to use is given by the `NOMINATIM_IMPORT_STYLE` configuration
|
||||||
option. There are a number of default styles, which are explained in detail
|
option. There are a number of default styles, which are explained in detail
|
||||||
in the [Import section](../admin/Import/#filtering-imported-data). These
|
in the [Import section](../admin/Import.md#filtering-imported-data). These
|
||||||
standard styles may be reference by their name.
|
standard styles may be referenced by their name.
|
||||||
|
|
||||||
You can also create your own custom syle. Put the style file into your
|
You can also create your own custom syle. Put the style file into your
|
||||||
project directory and then set `NOMINATIM_IMPORT_STYLE` to the name of the file.
|
project directory and then set `NOMINATIM_IMPORT_STYLE` to the name of the file.
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
## Importing OSM user-maintained special phrases
|
## Importing OSM user-maintained special phrases
|
||||||
|
|
||||||
As described in the [Importation chapter](Import.md), it is possible to
|
As described in the [Import section](Import.md), it is possible to
|
||||||
import special phrases from the wiki with the following command:
|
import special phrases from the wiki with the following command:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
|||||||
Reference in New Issue
Block a user