Commit Graph

1121 Commits

Author SHA1 Message Date
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
Marc Tobias Metten
cb68a2cdd2 Merge remote-tracking branch 'upstream/master' into travis-ci 2016-08-03 01:10:30 +02:00
Marc Tobias Metten
3499ed7b82 travis-ci: enable river tests again, numpy package was missing 2016-08-03 00:57:30 +02:00
Marc Tobias Metten
9ff24b9107 travis-ci: enable river tests again, numpy package was missing 2016-08-03 00:54:49 +02:00
Sarah Hoffmann
ee7a6e8f92 update paths in vagrant docs 2016-08-02 22:55:13 +02:00
Sarah Hoffmann
88d623b631 Merge pull request #497 from lonvia/forbid-execution-from-sourcedir
fail on execution of util scripts from source directory
2016-08-02 22:42:20 +02:00
mtmail
2a97ce6aed Merge pull request #476 from mtmail/travis-ci
travis-ci setup
2016-08-01 02:03:45 +02:00
Marc Tobias Metten
bb403e2e58 HTML map: new button -show map bounds- 2016-08-01 01:34:03 +02:00
Sarah Hoffmann
496d6bf168 fail on execution of util scripts from source directory
Utils scripts must be run from the build directory to make sure
we get the right paths. Rename the settings file in source and
replace the original one with an error, so that scripts
fail with an understandable error message when run from the
source directory.
2016-07-31 22:55:38 +02:00
Marc Tobias Metten
b00169e634 travis: exclude poldi, waterway tests 2016-07-31 02:33:47 +02:00
Marc Tobias Metten
9be58ffc7c travis: exclude poldi, waterway tests 2016-07-31 02:18:27 +02:00
Marc Tobias Metten
1fb847a5ad travis: exclude poldi, waterway tests 2016-07-31 02:17:28 +02:00
Marc Tobias Metten
8a823d1361 Merge remote-tracking branch 'upstream/master' into travis-ci 2016-07-30 21:53:27 +02:00
Sarah Hoffmann
ab30a69ad9 Merge pull request #490 from lonvia/streamline-class-interfaces
Code cleanup for geocode classes
2016-07-27 20:56:10 +02:00
Sarah Hoffmann
0a95bdc5f5 remove unused functions in Geocode 2016-07-26 23:10:50 +02:00
Sarah Hoffmann
d594bb238b cleanup interface of PlaceLookup
Move lookup parameters (place id, type, frac etc.) from members
to parameters for lookup().
2016-07-26 20:54:14 +02:00
Sarah Hoffmann
0d179b8c97 remove unnecessary local variable 2016-07-26 20:54:14 +02:00
Sarah Hoffmann
1b33999f10 refactor ReverseGeocode
- remove unused functions and members
- move coordinates from being members to being parameters of lookup()
2016-07-26 20:54:14 +02:00
Sarah Hoffmann
3f06d9d3ba fix typos and grammar in installation instructions 2016-07-26 20:38:44 +02:00
Sarah Hoffmann
7da9178b83 Merge pull request #487 from lonvia/unify-reverse
Remove duplicate reverse geocoding code
2016-07-25 22:15:28 +02:00
Sarah Hoffmann
a766240c06 remove duplicate reverse geocoding code
Geocode now uses ReverseGeocode directly. Note that it currently
cannot support any interpolations, neither OSM nor Tiger. But
neither did the previous version.
2016-07-24 23:58:39 +02:00
Sarah Hoffmann
a827367a2f adapt Tiger reverse test to new output format 2016-07-24 23:58:21 +02:00
Sarah Hoffmann
4f75f4cb6e remove IP blocking and rate-limiting code
Closes #472.
2016-07-18 21:33:09 +02:00
Sarah Hoffmann
975c30afba Merge pull request #486 from IrlJidel/patch-1
pgsqlRunPartitionScript needs global $aCMDResult
2016-07-16 10:09:09 +02:00
IrlJidel
ca92442601 pgsqlRunPartitionScript needs global $aCMDResult
function pgsqlRunPartitionScript  was missing global $aCMDResult

setup was failing with

...
PHP Notice:  Undefined variable: aCMDResult in /home/roles/nominatim/app/Nominatim/build/utils/setup.php on line 768
NOTICE:  type "nearplace" does not exist, skipping
..
ERROR:  relation "location_area_large_0" already exists
ERROR: pgsql returned with error code (3)
pgsql returned with error code (3)
Command exited with non-zero status 255
2016-07-14 19:49:58 +01:00
Marc Tobias Metten
77ca079688 travis-ci setup, some tests fails 2016-06-21 23:42:36 +02:00
Sarah Hoffmann
665de339e5 allow coordinates in query only with name or classtype
Coordinates with country or housenumber only do not make much
sense. Currently these combination result in queries that
require a sequential scan of search_name and normally time
out before yielding any results.

fixes #462
2016-06-15 22:41:48 +02:00
Sarah Hoffmann
84495489d9 fix links to documentation in README 2016-06-14 23:11:14 +02:00
Sarah Hoffmann
8eb0e09ce3 more instructions for Tiger imports 2016-06-14 21:44:18 +02:00
Sarah Hoffmann
2ab43f6367 reverse do not downgrade tiger and interpolation results
Also fix the type that is returned for Tiger data.

Fixes #470
2016-06-14 21:38:03 +02:00
Sarah Hoffmann
b14bc75dc4 Merge pull request #469 from lonvia/refactor-php
Some refactoring of website php
2016-06-13 20:13:38 +02:00