Commit Graph

1230 Commits

Author SHA1 Message Date
Marc Tobias Metten
1e3bf9729e for search,details in format=HTML return geometry in geojson, not wkt. No longer need leaflet-omnivore plugin 2017-03-19 17:31:00 +01:00
Marc Tobias Metten
924d3a8d6e update leaflet.js 0.7.7 => 1.0.3 2017-03-19 15:53:52 +01:00
Marc Tobias Metten
2a07bb8a7f remove obsolete openlayers theme files 2017-03-19 15:50:00 +01:00
Sarah Hoffmann
b3186d07f5 for roads add all intersecting boundaries to address list
When roads cross boundaries, both administrative entities should
be added to the address list, so that both entities can be used
for searching. Also allows in a second step to better sort out
addresses of POIs on such roads.

Fixes #121.
2017-03-18 12:17:48 +01:00
Sarah Hoffmann
ecee3828b3 Merge pull request #667 from lonvia/refactor-nearpoint
Factor out near point into class
2017-03-18 09:25:07 +01:00
Sarah Hoffmann
a64f992092 Merge pull request #668 from lonvia/warn-on-missing-osm2pgsql
cmake: add a more explicit hint when osm2pgsql is missing
2017-03-18 09:24:47 +01:00
Sarah Hoffmann
5682d1688d cmake: add a more explicit hint when osm2pgsql is missing
Fixes #642.
2017-03-17 23:05:06 +01:00
Sarah Hoffmann
57b35654e7 fix style 2017-03-17 22:36:22 +01:00
Sarah Hoffmann
a67edd328e Merge pull request #665 from openstreetmap/lonvia-patch-1
add unzip tool to requirements for Tiger imports
2017-03-17 22:08:01 +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
39c4c7fce8 add unzip tool to requirements for Tiger imports
Fixes #663
2017-03-15 20:44:06 +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