Sarah Hoffmann
699f5c42f0
disable warning about missing chars
2013-02-27 21:01:20 +01:00
Sarah Hoffmann
b122ae960c
name patching with default language for the case where the linked place adds translations
2013-02-26 22:29:16 +01:00
Sarah Hoffmann
ea2cf36b12
switch to main overpass server
2013-02-26 20:42:57 +01:00
Sarah Hoffmann
917d4f691c
remove full-word constraint for possible main words
...
Reversing the address did not work most of the time because
the address normally only contains the partial version of the word only.
See also
https://help.openstreetmap.org/questions/16317/warum-werden-straen-bei-suche-nicht-gefunden
2013-02-24 22:55:43 +01:00
Sarah Hoffmann
cee45a8ece
update to newest osm2pgsql
2013-02-21 00:03:18 +01:00
Sarah Hoffmann
43e79ea21b
add PG_CONFIG path to module makefile
...
fixes #38
2013-02-20 23:32:04 +01:00
Sarah Hoffmann
777e1cdbd9
remove special handling of mountain passes
...
clashes with use of place tags on same node,
needs updated osm2pgsql
2013-02-17 14:53:22 +01:00
Sarah Hoffmann
57facc4767
Revert "increase search radius for named roads"
...
This reverts commit c2d5303192
.
It causes serious performance problems in densely mapped areas.
2013-02-14 00:40:58 +01:00
Sarah Hoffmann
705bcf80fb
Merge branch 'address-importance' of https://github.com/lonvia/Nominatim
2013-02-13 22:10:28 +01:00
Sarah Hoffmann
463ef857c8
increase initial search radius for reverse lookups
...
On the osm.org instance, this saves 2 psql queries for about 87% of
reverse requests consequently increasing throughput significantly. A lower
value might make sense if an instance is used only in areas with very
high mapping density but for standard usage this one should be better
suited.
2013-02-12 19:10:36 +01:00
Brian Quinion
ff61b90baf
another int => bigint issue in addressline
2013-02-12 13:28:07 +00:00
Brian Quinion
c461003f19
fix some mised INTEGER to BIGINT conversions
2013-02-09 15:02:06 +00:00
Sarah Hoffmann
12c0944d93
add partial word search term to keywords as well
2013-02-08 19:11:15 +01:00
Brian Quinion
e891aa3041
include the type (not just class) in the dedupe
2013-02-07 18:41:17 +00:00
Brian Quinion
7a4d550c7a
more debug in reverse geocoding
2013-02-07 18:41:17 +00:00
Brian Quinion
9177a7f56c
merge in the postcode and is_in terms into the address vector for search
2013-02-07 18:41:17 +00:00
Sarah Hoffmann
364855c8a5
split query as utf8 string to avoid splitting on non-ascii characters
2013-01-31 20:52:04 +01:00
Sarah Hoffmann
13fff85415
stack importance instead of multiplying it for order
2013-01-31 20:11:40 +01:00
Sarah Hoffmann
f172d7b01e
order results by importance of address parts
2013-01-31 20:10:58 +01:00
Brian Quinion
adcafde481
now data isn't so lagy show the 'real' import date
2013-01-31 15:36:51 +00:00
Brian Quinion
3852096c80
avoid dropping tokens completely just because they are expensive. Use ' ' token in preference to just dropping
2013-01-31 14:17:41 +00:00
Brian Quinion
4bc40d2c0b
for structured queries assume 2 char country param values are a iso country code
2013-01-30 13:40:04 +00:00
Brian Quinion
fb76671ab9
expose 'importance' value of place in xml/json/jsonv2 output
2013-01-30 13:40:04 +00:00
Brian Quinion
68e4fddbc6
Change round how CONST_Max_Word_Frequency is applied. Was causing some valid combinations to be skipped (e.g. Casal De São Tomé). Change structured queries so the first search term can't end up in the address term
2013-01-30 13:40:04 +00:00
Sarah Hoffmann
db2cfd3503
remove OL touch controls
...
They interfere with Shift-Zoom.
2013-01-26 21:03:28 +01:00
Brian Quinion
f9a7f03239
A bunch more places that should be using calculated_country_code not country_code
2013-01-24 16:17:37 +00:00
Brian Quinion
a2f1dd1c31
clean up some of the debug output
2013-01-24 16:06:56 +00:00
Brian Quinion
dd44ee625b
Delete all records for a linked place so that they are no longer attached to new places
2013-01-24 12:58:16 +00:00
Brian Quinion
fca2d00617
Basic status page for monitoring nominatim is working
2013-01-24 12:42:42 +00:00
Sarah Hoffmann
1d836f6c5c
update to OpenLayers 2.12
2013-01-22 21:06:29 +01:00
Sarah Hoffmann
3dba772852
delete outdated entries from location_area_country
2013-01-22 08:01:30 +01:00
Sarah Hoffmann
87b250e739
split partition.sql into table and function parts
...
Makes it easier to patch partition functions on an already existing
database.
2013-01-19 17:23:21 +01:00
Brian Quinion
550523df1b
For structured queries remove type list for building / street level features
2013-01-19 01:47:24 +00:00
Sarah Hoffmann
3d8d52632b
respect exclude_place_ids in poi searches
2013-01-18 22:27:18 +01:00
Sarah Hoffmann
b567185966
allow country name at beginning for reverse order
2013-01-18 20:56:46 +01:00
Brian Quinion
4059ee03f6
Merge branch 'master' of github.com:twain47/Nominatim
2013-01-14 22:31:20 +00:00
Brian Quinion
7a47abe947
little bit more space to make the design work in chrome
2013-01-14 22:29:54 +00:00
Sarah Hoffmann
20a852b554
support custom psql port in setup.php
...
patch by b3nn0 (see http://trac.openstreetmap.org/ticket/4736 )
2013-01-14 22:48:52 +01:00
appelflap
a54c5e3003
use Postgis Version variable
2013-01-06 19:48:30 +01:00
Brian Quinion
7d250895a5
include zip codes for addresses linked to the street in the address search terms
2012-12-20 17:49:37 +00:00
Brian Quinion
d1a224bad4
performance: for low frequency name terms disable use of postgresql address index. Theshold is probably about 1000 but optimal value will probably depend on hardware.
2012-12-20 17:47:57 +00:00
Brian Quinion
ae7f676b73
wrong variable name in json output
2012-12-20 01:28:10 +00:00
Brian Quinion
4a3121b52f
release in postgis version string is optional
2012-12-18 17:39:01 +00:00
Brian Quinion
a293328f11
make sure rank 28 to 30 places are assigned a centroid value
2012-12-18 13:37:48 +00:00
Brian Quinion
96d3cb61c8
add constant to define postgis version. Verify definted version constants are correct during database creation.
2012-12-18 13:09:50 +00:00
Brian Quinion
4057b21e1f
use the new centroid property of placex in queries rather than calculating using st_centroid(geometry)
2012-12-18 12:50:34 +00:00
Sarah Hoffmann
c2d5303192
increase search radius for named roads
...
alleviates symptoms of trac ticket #4719
2012-12-17 22:14:11 +01:00
Brian Quinion
d1f266509a
Include the centre point on the details page
2012-12-17 15:28:37 +00:00
Brian Quinion
490190b873
only add Access-Control-Allow-Headers if needed
2012-12-17 15:00:49 +00:00
Brian Quinion
0dd10c3fff
Change access control to implement more of CORS. Change so OPTIONS requests don't do an actual search/reverse request
2012-12-17 00:25:06 +00:00