Sarah Hoffmann
189da9afb3
add osm_id index for osmline table
...
Needed when deleting address interpolation.
2019-02-21 23:26:31 +01:00
Sarah Hoffmann
af97682cca
add hint that setup.php must be run from build directory
...
Fixes #1307 .
2019-02-13 21:58:59 +01:00
Sarah Hoffmann
bdd64093e5
Merge pull request #1295 from mtmail/move-searchrank-labels-to-php
...
Remove get_addressrank_label. Move get_searchrank_label to PHP
2019-02-10 17:22:49 +01:00
Sarah Hoffmann
1dc5a6e5f8
Merge pull request #1294 from mtmail/behave-support-for-DB-PORT
...
BDD: support for DB_PORT environment variable
2019-02-10 17:20:57 +01:00
Sarah Hoffmann
89a888de76
Merge pull request #1305 from mtmail/travis-ci-ubuntu-16
...
Travis CI Ubuntu 14 => Ubuntu 16
2019-02-10 17:20:06 +01:00
marc tobias
3be797c759
BDD: support for DB_PORT environment variable
2019-02-09 20:54:18 +01:00
marc tobias
ad585771e7
Travis CI Ubuntu 14 => Ubuntu 16
2019-02-09 20:47:35 +01:00
marc tobias
853b536394
Remove get_addressrank_label. Move get_searchrank_label to PHP
2019-02-09 20:38:36 +01:00
Sarah Hoffmann
bfb20aaa47
Merge pull request #1282 from lonvia/remove-self-from-place-addressline
...
Remove self from place addressline
2019-02-09 16:00:46 +01:00
Sarah Hoffmann
cf4dcb12ed
docs: adapt sizes to smaller place_address table
2019-02-09 15:26:10 +01:00
Sarah Hoffmann
3811d916b9
remove self-reference from place-addressline
2019-02-09 15:26:10 +01:00
Sarah Hoffmann
db6d3ba486
Merge pull request #1304 from mtmail/travis-use-composer-instead-of-pear-install
...
pear.php.net offline. Use composer instead of pear install
2019-02-09 15:24:04 +01:00
Sarah Hoffmann
dd5315cbaa
Merge pull request #1303 from mtmail/remove-deprecated-phpunit-config-key
...
remove phpunit config key deprecated since version 3.5
2019-02-09 09:54:34 +01:00
marc tobias
f8ac0ef0b9
pear.php.net offline. Use composer instead of pear install
2019-02-09 02:19:00 +01:00
marc tobias
b56f7e8ad2
remove phpunit config key deprecated since version 3.5
2019-02-09 00:37:11 +01:00
Sarah Hoffmann
57ca1e0cf6
Merge pull request #1296 from mtmail/readme-markdown-syntax-error
...
README: tiny markdown syntax error
2019-01-28 21:19:46 +01:00
marc tobias
d9e0ef0ebf
README: tiny markdown syntax error
2019-01-28 19:42:40 +01:00
Sarah Hoffmann
8237aba840
Do not allow --no-index together with --import-osmosis-all
...
Fixes #1283 .
2019-01-26 15:25:00 +01:00
Sarah Hoffmann
63781c4953
set import_status when indexing only
...
Makes sure that things work as expected when running
`--import-osmosis --no-index` and `--index` separately.
Fixes #1284 .
2019-01-26 15:01:39 +01:00
Sarah Hoffmann
c822012aad
ignore admin boundary ways for countries and states
...
Countries and states are mapped world-wide as relations by now.
Fixes #543 and #1291 .
2019-01-26 13:37:10 +01:00
Sarah Hoffmann
7d192ace6d
Merge pull request #1277 from lonvia/osm2pgsql-import-from-json
...
Osm2pgsql import from json style file
2019-01-10 20:36:20 +01:00
Sarah Hoffmann
58e461e4c7
postcodes also need fallback
2019-01-08 23:46:18 +01:00
Sarah Hoffmann
5dc10bd5a2
add final missing import numbers
2019-01-08 22:54:41 +01:00
Sarah Hoffmann
f9a098743b
update osm2pgsql (custom style)
2019-01-08 22:54:41 +01:00
Sarah Hoffmann
f1fe70656f
more style docs
2019-01-08 22:54:41 +01:00
Sarah Hoffmann
e24ea7c1bb
add tests for import of interpolations
2019-01-08 22:54:41 +01:00
Sarah Hoffmann
8e2e852b89
add postcodes and interpolations to osm2pgsql style
2019-01-08 22:54:41 +01:00
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