add documentation for postcode customization

This commit is contained in:
Sarah Hoffmann
2022-06-20 17:42:12 +02:00
parent 7f2ad4ac7e
commit 5be320368c
4 changed files with 176 additions and 2 deletions

View File

@@ -15,6 +15,10 @@ Arguments:
postcode centroids of a country but is still searchable.
When set to 'no', non-conforming postcodes are not
searchable either.
default-pattern: Pattern to use, when there is none available for the
country in question. Warning: will not be used for
objects that have no country assigned. These are always
assumed to have no postcode.
"""
from nominatim.data.postcode_format import PostcodeFormatter