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
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