Sarah Hoffmann
48d4ea5542
Do not have postcode node appear in addresses directly
...
Many of the postcode nodes are actually derived from
incomplete addresses and are as such not even centroids.
Better let them only take part in the address computation
via the postcode table.
2018-08-05 14:25:20 +02:00
Sarah Hoffmann
9bdbbec0c8
Merge pull request #1110 from lonvia/remove-address-check-for-long-lines
...
Remove special search for address part for long ways
2018-08-04 23:19:32 +02:00
Sarah Hoffmann
8f0b3cb00f
Merge pull request #1126 from lonvia/improve-country-reverse
...
improve place node search when no areas found
2018-08-04 23:00:13 +02:00
Sarah Hoffmann
646fa53b44
improve place node search when no areas found
...
Only look for place nodes in a certain radius according
to the rank_search of the place node.
2018-08-04 21:51:23 +02:00
Sarah Hoffmann
7f10264fb6
Merge pull request #1095 from estadtherr/remote_postgres_pr
...
Enable Postgres to run on a different host than the web server
2018-08-02 23:16:07 +02:00
Sarah Hoffmann
7e0fdf5928
fall back to debugInfo() for printing objects
...
Fixes #1122 .
2018-08-02 00:06:02 +02:00
Sarah Hoffmann
4a28d28c08
prefix function calls in make_standard_name() with schema
...
Fixes #1097 .
2018-08-01 23:12:34 +02:00
Eric Stadtherr
bfea79f1e4
address phpcs issue (strange it didn't appear in earlier runs)
2018-07-30 11:20:43 -06:00
Eric Stadtherr
87d78e87d2
changed nominatim.so module path to be a runtime configuration setting as opposed to a command line argument
2018-07-24 15:25:12 -06:00
Sarah Hoffmann
c712c6e55e
Merge pull request #1115 from mtmail/php-linting-for-all-not-just-tests
...
On Travis phpcs only ran against tests/php/ directory
2018-07-23 22:41:24 +02:00
Marc Tobias Metten
510054492c
On Travis phpcs only ran against tests/php/ directory
2018-07-23 22:18:32 +02:00
Sarah Hoffmann
12db7a9af2
Merge pull request #1113 from mtmail/remove-empty-icon-configuration
...
ClassTypes: treat empty string for -icon-same as null
2018-07-23 20:37:31 +02:00
Sarah Hoffmann
fcab682231
Merge pull request #1114 from mtmail/fix-tiny-phplint-error
...
PHP code style: use long array syntax
2018-07-23 20:35:38 +02:00
marc tobias
0981a6403d
PHP code style: use long array syntax
2018-07-23 17:24:31 +02:00
marc tobias
37bd4dfd83
ClassTypes: treat empty string for -icon-same as null
2018-07-23 17:10:27 +02:00
Eric Stadtherr
057d77fcd4
rework repeatability change in data/words.sql
2018-07-22 15:58:11 -06:00
Sarah Hoffmann
713ea080d2
Remove special search for address part for long ways
...
Ways now always have the complete set of crossing boundaries
independent of the length.
Fixes #1108 .
2018-07-22 15:05:45 +02:00
Eric Stadtherr
bf5063de9a
fix variable reference
2018-07-21 21:59:03 -06:00
Eric Stadtherr
13efedde34
fix omitted initialization
2018-07-21 21:53:41 -06:00
Eric Stadtherr
c1beefd543
PR review changes
2018-07-21 21:45:23 -06:00
Eric Stadtherr
1d81c17335
fix a couple errors with naming convention changes
2018-07-21 20:43:48 -06:00
Eric Stadtherr
b8b87716db
adapt PR changes to use new variable naming convention
2018-07-21 17:09:59 -06:00
Eric Stadtherr
1108bf7d86
PR review changes
2018-07-21 12:09:47 -06:00
Eric Stadtherr
62747c934d
Work on setup/update scripts, unit tests, and documentation to enable Postgres server to be optionally configured on a remote host
2018-07-21 12:09:47 -06:00
Sarah Hoffmann
81b90c9f15
add a note about variable naming for PHP
2018-07-21 08:47:37 +02:00
Sarah Hoffmann
5a772a5770
Don't add viewbox weight when no viewbox is given
...
Fixes #1068 .
2018-07-20 23:29:36 +02:00
Sarah Hoffmann
3433ec306e
fix operator type assignment
...
Fixes #1084 .
2018-07-20 22:27:27 +02:00
Sarah Hoffmann
03039ebfa8
Merge pull request #1102 from mtmail/tests-for-tokenlist
...
tests for Nominatim::TokenList
2018-07-20 21:39:04 +02:00
Sarah Hoffmann
271c23f459
Merge pull request #1099 from lonvia/sanity-check-pyosmium
...
More sanity checks for pyosmium tools
2018-07-20 21:37:27 +02:00
Marc Tobias Metten
0892eab1d3
tests for Nominatim::TokenList
2018-07-19 14:19:50 +02:00
Sarah Hoffmann
d68996127d
fix bad namespace for Operator class
2018-07-17 22:38:40 +02:00
Sarah Hoffmann
83270557a7
more sanity checks for pyosmium tools
2018-07-17 21:54:37 +02:00
Sarah Hoffmann
0e4f80bf1b
Merge pull request #1090 from mtmail/add-more-nominatim.so-faq-entries
...
FAQ: more answers regarding nominatim.so file permissions
2018-07-13 21:33:13 +02:00
Sarah Hoffmann
b7abc8566e
Merge pull request #1089 from lonvia/clean-up-address-computation
...
Classes for ClassTypes and AddressDetails and geocodejson cleanup
2018-07-13 21:27:00 +02:00
marc tobias
92f86de938
FAQ: more answers regarding nominatim.so file permissions
2018-07-13 18:43:51 +02:00
Sarah Hoffmann
b17019a21c
fix unit tests for class types
2018-07-12 23:59:29 +02:00
Sarah Hoffmann
be58b929f2
add tests for geocodejson and fix syntax errors
2018-07-12 22:00:18 +02:00
Sarah Hoffmann
25baaf530d
unify address details lookup
...
Introduces new AddressDetails class which is responsible
for address lookups. Saves always the complete result
and then allows filtering throught the different access
function. Remove special handling in Geocode() and use
there the lookup throught PlaceLookup() as well.
2018-07-10 23:54:35 +02:00
Sarah Hoffmann
320d488627
move ClassTypes into own namespace
...
Also adds some convenience functions for lookups.
2018-07-09 23:20:46 +02:00
marc tobias
879f818d81
add geojson,geocodejson formats to API documentation
2018-07-09 16:06:48 +02:00
Sarah Hoffmann
80a6751c51
make phpcs happy
2018-07-06 22:06:05 +02:00
Sarah Hoffmann
05bef92f0f
ignore admin_level = 15 in geocodejson output
...
Level 15 is an artifical value.
2018-07-06 21:59:17 +02:00
Sarah Hoffmann
01d5ecb86b
use already existing address field in geocodejson
2018-07-06 21:58:41 +02:00
Sarah Hoffmann
f50f46c1ce
Merge branch 'geojson-output' of https://github.com/mtmail/Nominatim into mtmail-geojson-output
2018-07-06 20:26:33 +02:00
Sarah Hoffmann
adae49b184
remove trailing spaces
2018-07-05 19:28:17 +02:00
Sarah Hoffmann
2bd7c75a35
avoid 'SELECT *'
2018-07-05 19:27:21 +02:00
Sarah Hoffmann
9955155ce0
update tests for off-coast reverse geocoding
2018-07-04 21:03:04 +02:00
Sarah Hoffmann
b0e0f7ae76
make sure index is used when looking for places in country
2018-07-04 20:56:09 +02:00
Sarah Hoffmann
0315b87664
update indexes for new reverse algorithm
2018-07-02 23:56:56 +02:00
Sarah Hoffmann
ac29f8bc91
Merge branch 'better-reverse' of https://github.com/gemo1011/Nominatim into gemo1011-better-reverse
2018-07-02 21:33:27 +02:00