Sarah Hoffmann
4c10294a29
document import style variants
2019-01-08 22:54:41 +01:00
Sarah Hoffmann
31bf7443a6
fix typo
2019-01-08 22:54:41 +01:00
Sarah Hoffmann
e6d18fc948
fixup admin import style and add two new ones
...
Remove unnamed landuses and postcode points from
importing. The latter will cause all objects with
address tags to be imported after all. Not expected
in the admin import style.
2019-01-08 22:54:41 +01:00
Sarah Hoffmann
a90ace7fa1
add documentation for new import style
2019-01-08 22:54:41 +01:00
Sarah Hoffmann
caa8210112
Switch to configurable style for osm2pgsql
...
Includes the full style, which is the same as now (minus
sidwalk exclusion) and a minimal style for boundaries only.
2019-01-08 22:54:41 +01:00
Sarah Hoffmann
1c85edbda9
adapt warm.php to new Result objects
...
Fixes #1276 .
2019-01-08 22:45:21 +01:00
Sarah Hoffmann
72d19cd523
keep country_osm_grid table when dropping update tables
2019-01-08 22:44:33 +01:00
Sarah Hoffmann
cc17aa8d6b
Remove postcodes also from word table when they no longer exist
...
Also adds tests for postcode updates.
Fixes #1273 .
2019-01-04 23:11:47 +01:00
Sarah Hoffmann
181e238b55
Do not log file sizes in the index step on updates
...
Fixes #1274 .
2019-01-04 21:51:18 +01:00
Sarah Hoffmann
7d74bf781c
correctly discard partially matching duplicates
...
The same result may be found with different result ranks
in the same search loop when housenumber or postcode are
part of the name or address. In this case we need to keep
the result with the lower result rank.
Fixes #1264 .
2019-01-03 21:49:50 +01:00
Sarah Hoffmann
a0fde50c08
Merge pull request #1263 from mtmail/add-new-postcodes-to-searchnames
...
when updating GB postcodes, also run SQL getorcreate_postcode_id
2018-12-11 21:39:28 +01:00
marc tobias
8224cc34ea
documentation: when updating GB postcodes, also run SQL getorcreate_postcode_id [SKIP CI]
2018-12-11 21:34:56 +01:00
Sarah Hoffmann
411f361fcb
traverse address list backwards when computing admin levels
...
By starting with the lowest address level, when collecting
administrative boundaries by level, there is a better chance
to actually get the boundary when the capital of the
administrative boundary is tagged with the level of the
boundary as well.
This is just a heuristics adaption to make the best out of
the imprecise admin_level definition for place nodes.
Fixes #1261 .
2018-12-06 21:18:47 +01:00
Sarah Hoffmann
e080bdff0f
Don't escape slashes in json output
...
Fixes #1256 .
2018-12-04 22:28:29 +01:00
Sarah Hoffmann
fae8da2bcb
Merge pull request #1252 from mtmail/update-and-document-gb-postcode-data2
...
GB postcode: new conversion script, documentation
2018-12-04 22:20:55 +01:00
Sarah Hoffmann
2d1337e190
Merge pull request #1255 from mtmail/faq-about-permanent-ids
...
new FAQ entry about place_id values
2018-12-04 22:03:41 +01:00
Sarah Hoffmann
ec4e3c36af
Merge pull request #1258 from lonvia/cleanup-utils
...
Restructure script and website installation
2018-12-04 22:00:31 +01:00
marc tobias
1489e6c00e
Explain place_id, i.e. shouldn't be use as permanent id
2018-12-03 19:05:18 +01:00
Marc Tobias Metten
61769a1bad
GB postcode: new conversion script, documentation
2018-12-03 18:43:28 +01:00
Sarah Hoffmann
56839ba50f
No longer install phrase configuration
...
Instead add it as a configurable path with the one from
the source directory as the default.
Also reinstates that settings/defaults.php is installed as
settings/settings.php.
2018-12-02 11:50:44 +01:00
Sarah Hoffmann
fe6a2e9f14
Remove server_compare from list of installed scripts
...
This is a stand alone script and does not depend on
the configured environment.
2018-12-02 11:21:09 +01:00
Sarah Hoffmann
11c91e3b8d
Remove settings/settings.php
...
This was only a stub to warn when something was
executed directly from utils/ in the source directory.
This is no longer possible.
2018-12-02 11:16:41 +01:00
Sarah Hoffmann
e70f405abd
Restructure script and website installation
...
Just make cmake install a small stub that includes
the settings from the build directory and then the
script from the source directory. Remove executable
rights from php files in utils/ so that they cannot
be accidentally executed.
2018-12-02 11:13:48 +01:00
Sarah Hoffmann
8b8ee00725
remove blocks script
...
Belongs to the rate-limiting code that has been
removed a long time ago.
2018-12-02 10:18:54 +01:00
Sarah Hoffmann
121126cb50
Migration hint for address levels
2018-12-01 23:20:04 +01:00
Sarah Hoffmann
9a13086122
fixup typos and linking of data-source docs
...
Can't create symbolic links to a directory and then
to files within.
2018-12-01 22:40:37 +01:00
Sarah Hoffmann
c68833cd7f
Merge branch 'document-osm-country-grid' of https://github.com/mtmail/Nominatim
2018-12-01 22:20:50 +01:00
Sarah Hoffmann
d4fa528d5c
Merge pull request #1245 from lonvia/address-levels-from-json
...
Make rank assignments configurable
2018-12-01 21:43:53 +01:00
marc tobias
8e19336f49
document what country_osm_grid does
2018-11-29 17:06:04 +01:00
Sarah Hoffmann
52178caa98
fix tests
2018-11-28 23:40:17 +01:00
Sarah Hoffmann
e5cb5d439d
Merge pull request #1251 from mtmail/remove-naturalearth-boundary-fallback
...
remove Natural Earth dataset
2018-11-28 22:29:41 +01:00
Sarah Hoffmann
e28fa6c787
Merge pull request #1253 from RhinoDevel/patch-1
...
Fix typo.
2018-11-28 22:28:16 +01:00
RhinoDevel
313574ce97
Fix typo.
2018-11-28 13:11:06 +01:00
Sarah Hoffmann
96a84294f4
use consistent naming in doc pages
2018-11-27 22:59:18 +01:00
Sarah Hoffmann
7611aa2f65
Move address level config into settings/
2018-11-27 22:32:27 +01:00
Sarah Hoffmann
97fa7e0817
Merge pull request #1250 from mtmail/correct-builddir-variable-in-test-readme
...
test/README.txt: BUILDDIR should be BUILD_DIR [SKIP CI]
2018-11-27 22:27:25 +01:00
marc tobias
417b5b031b
test/README.txt: BUILDDIR should be BUILD_DIR [SKIP CI]
2018-11-27 20:17:27 +01:00
marc tobias
a7e26e8f59
remove Natural Earth dataset
2018-11-27 20:13:33 +01:00
Sarah Hoffmann
7665e5a035
Merge pull request #1247 from mtmail/exit-with-error-code
...
settings.php: when printing error, also exit with error code
2018-11-26 14:53:11 +01:00
marc tobias
c9a553fdb4
settings.php: when printing error, also exit with error code
2018-11-26 14:28:09 +01:00
Sarah Hoffmann
5e072dabc3
remove PHP parameter typing
...
Older PHPs don't seem to like it.
2018-11-24 19:05:13 +01:00
Sarah Hoffmann
e5b7424592
travis: make sure to start with fresh template for DB tests
2018-11-24 16:22:05 +01:00
Sarah Hoffmann
e99dc2a3da
Add function to update address levels
2018-11-24 16:21:16 +01:00
Sarah Hoffmann
211214a8d3
Add documentation for new ranking level configuration
2018-11-24 16:21:16 +01:00
Sarah Hoffmann
e10d11c6c7
Make rank assignments configurable
...
The initial search and address rank is saved in a table
that is set up from a json configuration file. Ranks may
be assigned on a country level according to class and
type of the object. Special handling that depends on the
geometry or OSM type is still hard-coded in placex insert.
The new default config file mimicks the current assignment
as close as possible. A couple of exceptions have been
removed, most notably the exception for Irish townlands.
2018-11-24 16:21:16 +01:00
Sarah Hoffmann
f0088ca2be
Merge pull request #1237 from ckquentvp/fix-accept-language-underscore-parsing
...
match languages such as ja_rm (or any other with underscore) properly
2018-11-24 16:20:00 +01:00
name
3cd3d1f5ae
test languages with underscores (e.g. ja_rm)
2018-11-24 16:52:24 +02:00
Sarah Hoffmann
14cef94e61
fix variable name in setup --drop
2018-11-24 12:29:00 +01:00
Sarah Hoffmann
71ef94dae6
add Makefile for tests
2018-11-24 12:25:28 +01:00
Sarah Hoffmann
fc99954b2e
Merge pull request #1242 from lonvia/import-for-reverse-only
...
Add a reverse-only mode
2018-11-21 21:36:11 +01:00