Sarah Hoffmann
39580057fc
better error message for missing osm2pgsql
2016-10-09 21:04:53 +02:00
Sarah Hoffmann
a855ffe58e
replace deprecated postgis functions
...
ST_Line_Locate_Point and ST_Distance_Spheroid have changed
spelling in newer version and throw a deprecation warning.
2016-10-09 20:09:59 +02:00
Sarah Hoffmann
42d473968f
check for correct array for country codes
...
fixes trac ticket 5427
2016-10-04 20:32:22 +02:00
Rémi BOURGAREL
8a2e401025
Change on get_addressdata check for matching the condition in placex_update
...
On placex_update we stop the indexing to the first parent if the rank_search is above 27. We should do the same check in get_adressdata, because place with a rank_address != 30 and a search_rank > 27 will have only 1 parent.
https://github.com/twain47/Nominatim/issues/534
2016-10-04 15:49:31 +02:00
Sarah Hoffmann
a912b3448f
docs: fix link
2016-10-02 17:33:49 +02:00
Sarah Hoffmann
8b896f37f3
fill interpolation array for reverse lookups via search endpoint
...
Fixes #540
2016-10-01 13:03:31 +02:00
Sarah Hoffmann
6bf90eb22f
fix namespace use
2016-09-30 22:43:11 +02:00
Sarah Hoffmann
421174ce0c
Merge pull request #538 from lonvia/update-default-languages
...
Update default languages and move country search term creation to setup.php
2016-09-30 20:01:20 +02:00
Sarah Hoffmann
1982978f74
move country search term creation into setup script
...
Search results can become odd without the country search
terms, so make their inclusion a mandatory part of the
setup.
Also adds a new configuration variable to restrict the
languages taken into account by Nominatim.
2016-09-28 23:30:44 +02:00
Sarah Hoffmann
6fd2887543
update per-country language defaults
...
Added missing defaults for all mono-lingual countries as per
http://wiki.openstreetmap.org/wiki/Nominatim/Country_Codes
2016-09-28 22:04:29 +02:00
Sarah Hoffmann
44ee8d9ce3
Merge pull request #533 from mtmail/PSR2-php-tests
...
fix PSR2 warnings in php tests
2016-09-16 21:57:38 +02:00
Sarah Hoffmann
bf77b444bf
Merge pull request #532 from mtmail/PSR2-namespaces
...
add namespaces, method visibility according to PSR2 standard
2016-09-16 21:55:44 +02:00
Marc Tobias Metten
a7da0c90bf
fix PSR2 warnings in php tests
2016-09-16 02:45:42 +02:00
Marc Tobias Metten
6238ae6032
add namespaces, method visibility according to PSR2 standard
2016-09-16 02:27:36 +02:00
Sarah Hoffmann
d437a14f25
vagrant: use old configs when updating
...
Otherwise we may overwrite vagrant-specific settings like
nopassword for sudo.
2016-09-15 23:08:54 +02:00
Sarah Hoffmann
e1be3d9f48
Merge branch 'PSR2-fixes-for-settings' of https://github.com/mtmail/Nominatim into mtmail-misc-psr-fixes
2016-09-15 21:53:12 +02:00
Sarah Hoffmann
e686ce8680
Merge branch 'PSR2-fixes-for-wikidata' of https://github.com/mtmail/Nominatim into mtmail-misc-psr-fixes
2016-09-15 21:51:48 +02:00
Marc Tobias Metten
93c26a0e65
half-reverting 51155b63
, We dont need two of three break statements after all
2016-09-15 19:36:32 +02:00
Marc Tobias Metten
02550cc4dc
PSR2 fixes for /settings
2016-09-14 03:50:18 +02:00
Marc Tobias Metten
b243aa84e2
PSR2 fixes for /wikidata and /tests-php directories
2016-09-14 03:39:17 +02:00
Marc Tobias Metten
cfed4bc204
PHP linter looks for phpcs.xml by default. Also removed a couple of exceptions that didnt cause warnings
2016-09-14 03:23:43 +02:00
Marc Tobias Metten
4a321487f3
fix indentation and misc errors according to PSR2 coding style guide
2016-09-14 03:16:46 +02:00
Marc Tobias Metten
74c06ef877
PHP linter looks for phpcs.xml by default. Also removed a couple of exceptions that didnt cause warnings
2016-09-14 03:15:46 +02:00
Marc Tobias Metten
51155b639b
case statement need : instead of ;. Added more breaks
2016-09-14 03:00:57 +02:00
Marc Tobias Metten
775fdeb8e4
UI: viewbox parameter was set in wrong parameter order
2016-09-13 14:41:56 +02:00
Sarah Hoffmann
eb0b3bfa4c
Merge pull request #524 from mtmail/PSR2-function-declarations
...
fix function declaration errors according to PSR2 coding style guide
2016-09-11 12:07:35 +02:00
Marc Tobias Metten
2a784fa3d4
fix function declaration errors according to PSR2 coding style guide
2016-09-11 05:22:51 +02:00
Marc Tobias Metten
5c40100b57
code style definitions: we no longer use tabs
2016-09-11 05:21:51 +02:00
Marc Tobias Metten
ae5cc28a1a
add PHP code-sniffer to installation instructions (marked optional)
2016-09-11 05:21:15 +02:00
Sarah Hoffmann
cf39e07dba
Merge pull request #522 from mtmail/PSR2-arrays
...
fix array-related errors according to PSR2 coding style guide
2016-09-10 23:35:25 +02:00
marc tobias
e49ed1bb13
make apt-get noninteractive. Also fixes the grub error state
...
grub complains about disc unique identifier having changed
2016-09-10 23:29:59 +02:00
marc tobias
3887423381
fix array-related errors according to PSR2 coding style guide
2016-09-10 21:10:52 +02:00
marc tobias
f05ea577f4
bracket spacing for if/else/for/foreach/while/switch according to PSR2 standard
2016-09-08 02:16:22 +01:00
Sarah Hoffmann
effd8e12af
Merge branch 'delete-us-postcode-without-name' of https://github.com/mtmail/Nominatim
2016-09-05 23:09:32 +02:00
Sarah Hoffmann
89c157a6c1
adapt coding style for new spaces-only policy
2016-09-05 22:13:08 +02:00
Marc Tobias Metten
832547f192
tabs-to-spaces
2016-09-04 03:19:48 +02:00
Marc Tobias Metten
36fdfd92ad
one US postcode has no name. Unable to find secondary source what it would have been
2016-09-04 02:15:51 +02:00
Sarah Hoffmann
cd6dcfa574
Merge pull request #498 from mtmail/move-mouse-position-info-on-map
...
HTML map: new button -show map bounds-
2016-08-24 22:19:48 +02:00
Sarah Hoffmann
8a796db3c9
Merge pull request #508 from mtmail/addtype-in-installation.md
...
typo in Installation.md
2016-08-24 08:49:45 +02:00
Marc Tobias Metten
87b6810eba
HTML map: new button -show map bounds- in top right corner
2016-08-24 04:21:28 +02:00
mtmail
50c994be93
Update Installation.md
...
trivial typo: AddTpe => AddType
2016-08-24 01:45:36 +02:00
Marc Tobias Metten
797c2d1e74
Merge remote-tracking branch 'upstream/master' into move-mouse-position-info-on-map
2016-08-24 00:03:40 +02:00
Sarah Hoffmann
d7c469d94e
Merge pull request #504 from lonvia/parameter-parser-class
...
factor out parameter parsing into its own class
2016-08-23 21:57:06 +02:00
Sarah Hoffmann
3b7baca46c
Merge pull request #506 from mtmail/primary-vagrant-vm
...
specify ubuntu as primary Vagrant VM
2016-08-22 09:41:46 +02:00
marc tobias
0957bd27c6
specify ubuntu as primary Vagrant VM
2016-08-22 05:47:26 +02:00
Sarah Hoffmann
5464dec057
factor out parameter parsing into its own class
...
Allows to use the parsing functions in website/search.php and
utils/query.php as well.
2016-08-20 13:43:50 +02:00
Sarah Hoffmann
feb458f8dd
update tests for newer planet
2016-08-19 23:57:23 +02:00
Sarah Hoffmann
9c1e0c49bf
docs: give recomendations about flatnode file size
...
closes #501
2016-08-10 22:02:10 +02:00
Sarah Hoffmann
36f2afea8a
mark checkpoint_segments parameter as deprecated
...
Postgresql 9.5 has checkpoint_segments removed and fails to start
if the options is given. Adds a comment to that effect.
Fixes #494 .
2016-08-04 22:17:05 +02:00
Sarah Hoffmann
5c187e131a
Merge pull request #499 from mtmail/travis-ci
...
Travis ci setup - tests pass
2016-08-03 08:35:32 +02:00