Commit Graph

1121 Commits

Author SHA1 Message Date
Sarah Hoffmann
57b35654e7 fix style 2017-03-17 22:36:22 +01:00
Sarah Hoffmann
20a4cab57e add tests for nearpoint sql functions 2017-03-16 22:12:20 +01:00
Sarah Hoffmann
ab3b556144 use NearPoint class in Search array 2017-03-16 22:04:30 +01:00
Sarah Hoffmann
1649191ffd adapt unit tests for new NearPoint type 2017-03-15 23:58:51 +01:00
Sarah Hoffmann
41fce277cd make NearPoint its own class 2017-03-15 23:47:35 +01:00
Sarah Hoffmann
3a696e1895 Merge pull request #661 from mtmail/travis-ci-badge
add travis-ci badge ("build passing") to README file
2017-03-12 14:00:11 +01:00
Sarah Hoffmann
a793f698f3 Merge pull request #660 from mtmail/new-github-URL
github.com/twain47 => github.com/openstreetmap
2017-03-12 13:59:11 +01:00
marc tobias
889637321b add travis-ci badge ("build passing") to README file 2017-03-12 13:11:56 +01:00
marc tobias
a52455f160 github.com/twain47 => github.com/openstreetmap 2017-03-12 13:06:25 +01:00
Sarah Hoffmann
9358243b66 Merge pull request #659 from lonvia/full-indexing-in-tests
Fix travis tests and update CONTRIBUTING.md
2017-03-11 17:38:46 +01:00
Sarah Hoffmann
9e54d1d6eb adapt CONTRIBUTING.md to new test locations and tools 2017-03-11 17:13:24 +01:00
Sarah Hoffmann
1aaeee19a1 test: rerun indexing after updates until really all is done
There are caess where indexing needs to be done a second round
because related objects need to be updated.
2017-03-11 17:09:14 +01:00
mtmail
6153ad3b31 Merge pull request #656 from EdwardBetts/master
correct spelling mistakes
2017-03-08 16:36:40 +01:00
Edward Betts
7e3af2debc correct spelling mistakes 2017-03-08 15:06:50 +00:00
Sarah Hoffmann
450a12c6be include housenumbers and postcodes when rechecking for exact matches 2017-02-28 21:40:05 +01:00
mtmail
196c55e341 Merge pull request #649 from ldgeo/master
UI: Extra HTML headers for compatibility on MSIE>8
2017-02-28 17:18:12 +01:00
Ludovic Delauné
2c3317f582 extra headers for compatibility on IE7 2017-02-28 17:08:34 +01:00
Sarah Hoffmann
e0c066d850 make sure the flatnode file is disabled while testing 2017-02-27 22:01:06 +01:00
Sarah Hoffmann
e1cbca2572 add behave settings
removes @Fail tests
2017-02-26 16:46:41 +01:00
Sarah Hoffmann
e1095205e4 fix geometry creation from scene 2017-02-26 16:46:41 +01:00
Sarah Hoffmann
e5c79a1d1f add more interpolation update scenarios (currently failing) 2017-02-26 16:46:41 +01:00
Sarah Hoffmann
6551399bcc test: enable grid support for DB tests 2017-02-26 16:46:41 +01:00
Sarah Hoffmann
c48fb88e6b move interpolaton computation into indexing step
The interpolaton computation needs information from the osm2pgsql
slim tables which may not be available when the data is inserted.

Insertion now only adds a line with basic address information to
location_property_osmline. The line is then split during the
indexing, leading to more lines (which are complete in that case)
being inserted.

Fixes #598.
2017-02-26 16:46:41 +01:00
Sarah Hoffmann
e04838cc71 add node grids for tests and test for interpolation update 2017-02-26 16:46:41 +01:00
Sarah Hoffmann
0916d72ddf Merge pull request #644 from ldgeo/master
fix compilation error (cannot find -lpq)
2017-02-25 09:45:35 +01:00
Ludovic Delauné
a933421860 fix compilation error (cannot find -lpq) 2017-02-23 10:17:25 +01:00
Melvyn Sopacua
66d7f1a058 Set osmosis if available 2017-02-18 17:58:11 +01:00
Sarah Hoffmann
e77a07cbb3 add Kosovo to list of country names
Kosovo will remain in the same partition as Serbia to not disrupt
existing databases.
2017-02-18 16:07:37 +01:00
Sarah Hoffmann
c897b96c41 don't delete names on unknown country boundaries
If a country boundary has a country_code that is unknown to
Nominatim, it would delete all names because the coalascing
with country_name would not yield any result.
2017-02-18 13:51:21 +01:00
Sarah Hoffmann
679e4c47ce Merge pull request #632 from melvyn-sopacua/libxml2-fixes
Fix warnings:
2017-02-15 21:31:42 +01:00
Melvyn Sopacua
13ab03a03a Fix warnings:
- be consistent with (const char *) casts when assigning
- use xmlStrlen instead of strlen when dealing with xmlChar *
2017-02-15 10:17:43 +01:00
Sarah Hoffmann
56962deb30 Merge pull request #630 from lonvia/cascading-make
use properly cascading make for external make file
2017-02-15 09:55:25 +01:00
Sarah Hoffmann
e86516bbaf use properly cascading make for external make file
If make is called directly then the -j option is not
properly propagated. Instead make gives a warning
'No jobserver avilable'.
2017-02-13 21:02:49 +01:00
Sarah Hoffmann
b6acd24e5a Merge pull request #629 from melvyn-sopacua/release-2.6.0a1
Build fixes for BSD-like systems
2017-02-13 20:51:00 +01:00
Melvyn Sopacua
e31cd9717c Use CMAKE_MAKE_PROGRAM instead of hardcoded make
FreeBSD uses `gmake` instead of `make` if GNU make is required to build
a port.
2017-02-13 14:33:14 +01:00
Melvyn Sopacua
6eb6f35f24 BSD compat: use sys/endian.h if available
<byteswap.h> is a linuxism. On BSD-like systems this is <sys/endian.h>
2017-02-13 14:30:48 +01:00
Sarah Hoffmann
e9decd2574 Merge pull request #626 from rory/patch-1
Syntax improvements
2017-02-07 23:32:37 +01:00
Rory McCann
2fd9ffda43 Syntax improvements
use backticks for more fixed-width type things
2017-02-07 14:57:54 +01:00
Sarah Hoffmann
a84a7a70f3 reverse: choose interpolation only when further than point
The ST_DWithin check also includes objects that are the same distance.

Another attempt at #545.
2017-02-05 23:02:21 +01:00
Sarah Hoffmann
dcab7a19e5 reverse: disable interpolation when going up the address hierarchy
Fixes #621.
2017-02-05 13:08:51 +01:00
Sarah Hoffmann
d4c78a982e Merge pull request #620 from sebkur/improve-readme-formatting
Improve markdown of Installation section
2017-02-02 12:12:30 +01:00
Sebastian Kürten
7716e0bc92 Improve markdown of Installation section
Due to indentation issues (code within numbered list needs at least 8
spaces instead of 4) the code would not appear as code but as plain text
without a fixed size font and also without newlines appearing in the
HTML.
2017-02-02 11:58:40 +01:00
Sarah Hoffmann
5dea0658e4 Merge pull request #613 from mtmail/travis-behave-and-split-tests
Replace lettuce with behave in tests. Use python3 Split import and (p…
2017-01-21 09:14:36 +01:00
Marc Tobias Metten
cfd03d7be3 Replace lettuce with behave in tests. Use python3 Split import and (python,php) tests into two travis executions 2017-01-21 02:38:04 +01:00
Sarah Hoffmann
9240e83802 Merge pull request #610 from lonvia/set-lanugage-of-indexer
force language of pgsql to C
2017-01-16 21:09:32 +01:00
Sarah Hoffmann
2c07d5e000 Merge pull request #605 from lonvia/fix-fraction-on-interpolations
Better search radius for interpolations when reverse geocoding
2017-01-15 21:33:47 +01:00
Sarah Hoffmann
ea5fe54c6b force language of pgsql to C
Fixes #558.
2017-01-15 21:31:14 +01:00
Sarah Hoffmann
08d1ec09cc fix viewbox tests
Hamburg may not be complete in the test set
2017-01-09 21:15:41 +01:00
Sarah Hoffmann
b8db8301df reverse: reduce search radius for interpolations
Interpolations should have the same maximum search radius as
address points. Change search strategy and only search for
interpolations either before decreasing the maxRank to road
or when a POI was found and we need to check that there isn't
an interpolation that is closer.
2017-01-09 20:51:16 +01:00
Sarah Hoffmann
d18bd14045 add test for moreURL issue and debugging of test query contents 2017-01-01 17:58:21 +01:00