Brian Quinion
a44f9c6aab
Missing some exact name matches when searching for 'special' phrases
2012-11-07 00:48:20 +00:00
Brian Quinion
3c1b21d61c
mising string concatenation (.)
2012-11-06 20:04:31 +00:00
Brian Quinion
e70dfa18fa
move error messages to consistent 'userError' function and return 400 Bad Request
2012-11-06 13:16:19 +00:00
Brian Quinion
9d8ee88591
make number of polygon outputs allowed a constant
2012-11-06 13:10:25 +00:00
Brian Quinion
f942f7c3bf
limit polygon output to one type as a time
2012-11-06 13:06:46 +00:00
Brian Quinion
753d2ac79f
Add options to output polygon in various formats: polygon_geojson=1&polygon_svg=1&polygon_kml=1&polygon_text=1 They can be all used at the same time if prefered. Where format and polygon type are compatible output is as native type e.g. format=json&polygon_geojson=1
2012-11-06 00:08:01 +00:00
Brian Quinion
c0d9ba7e0c
Handle multipolygon geometry a little bit (return first outer ring)
2012-11-05 22:47:42 +00:00
Brian Quinion
9fcec31000
remove accidentally committed exit command
2012-11-05 14:04:14 +00:00
Brian Quinion
a5d5a92304
include a bit of extra details for polygon errors in output on details.php page
2012-11-05 14:00:54 +00:00
Brian Quinion
f67b1c20e1
don't include linked_place_id places in the sql output (causes errors on paging / number of results returned)
2012-11-05 13:57:02 +00:00
Brian Quinion
a0e39b67d5
Allow option of structured search queries (params amenity,street,city,county,state,country)
2012-11-02 17:52:33 +00:00
Brian Quinion
f87ea067ca
fix some php warnings for cleaner output
2012-11-02 17:42:05 +00:00
Brian Quinion
678dcbd82a
hstore in 9.2 replaces k=>v with hstore(k,v). Update sql to reflect change and introduce compatability function for pre 9.1 postgresql
2012-11-01 01:47:30 +00:00
Brian Quinion
1d3ca4faa7
hstore in 9.2 replaces k=>v with hstore(k,v). Update sql to reflect change and introduce compatability function for pre 9.1 postgresql
2012-11-01 01:46:19 +00:00
Brian Quinion
26c63f8c4c
new development version 2.1
2012-10-31 16:26:15 +00:00
Brian Quinion
6db3b2328d
don't exit during osmosis setup
2012-10-29 14:23:05 +00:00
Brian Quinion
7dbbc43a85
Automatically calculate the state file for replication from the last node in the db
2012-10-22 03:09:38 +01:00
Sarah Hoffmann
9d7c51a813
correct penalty for multi-word countries
...
Country name needs to be the final one within the wordset, not
in the final of all wordsets.
2012-10-14 16:13:22 +02:00
Sarah Hoffmann
d2a74c9bd9
import time uses UTC
2012-10-13 09:06:26 +02:00
Sarah Hoffmann
a960cf6b71
use geometry column for special phrase queries
...
It has an index, centroid does not.
2012-10-09 23:57:54 +02:00
Sarah Hoffmann
c691217901
typo
2012-10-09 22:20:05 +02:00
Sarah Hoffmann
b0242c7901
use calculated_country_code for postcodes
2012-10-09 22:05:37 +02:00
Sarah Hoffmann
491bc8c339
remove country name from address name vector
...
Country is already covered by the country_name entries in the
word table, so removing the country from the address vector will
not change results but reduce the size of search_name significantly.
Patch in names from OSM into the word table
to make sure we have complete coverage. Note that bad entries
still need to be removed by hand.
2012-10-08 00:05:23 +02:00
Sarah Hoffmann
f0d93eb966
update to latests osm2pgsql
2012-10-02 22:52:38 +02:00
Sarah Hoffmann
8fc2f9551b
delete more hardcoded rules for special phrases
...
both cases are now sufficiently covered by settings/phrase_settings.php
2012-09-30 11:46:00 +02:00
Sarah Hoffmann
7b78507ef9
lift restriction on special search term class
...
All too frequent classes are already filtered out on import of the
special search term tables.
2012-09-30 10:40:44 +02:00
Sarah Hoffmann
ee2863200c
Merge remote-tracking branch 'lonvia/partial-search-terms'
2012-09-30 09:51:54 +02:00
Sarah Hoffmann
20f1939c4c
update osm2pgsql to latest version
2012-09-29 18:53:21 +02:00
Sarah Hoffmann
ce1df51d6e
remove mountain ranges from addresses
2012-09-29 18:25:22 +02:00
Sarah Hoffmann
199308ca5e
skip is_in items already in address vector
2012-09-29 18:02:32 +02:00
Sarah Hoffmann
3337515052
check for empty relation before linking
...
Empty relations may indeed appear, if the members of a relation
have been deleted but the tags have been retained. That is
detected as accidental error and the old geometry is retained
in placex while the slim tables contain the new version without members.
2012-09-28 22:58:29 +02:00
Sarah Hoffmann
e73e67001e
ignore frequent partial search terms
...
Adds word counts from a full planet to the word table. There is a
new configuration option CONST_Max_Word_Frequency which allows to
take into account the word count: the value that was set on import
is used to determine if a word is added to the search_name table.
The value during runtime determines if a single term should be
used for partial search or simply be ignored.
2012-09-25 00:36:34 +02:00
Sarah Hoffmann
f1063497ef
use rank_address for linking places and boundaries
...
This manages to match up a lot more places and boundaries below city level.
2012-09-24 20:32:43 +02:00
Sarah Hoffmann
c37a145dc6
patch replication path on --osmosis-init
...
planet server layout has changed. Patch in the new path to
minute replications after having osmosis initialise configuration.txt.
2012-09-23 22:03:28 +02:00
Sarah Hoffmann
b61259bf77
switch to distribution-supplied osmosis
...
Both, Debian and Ubuntu now come with a reasonably recent version
of osmosis. Make using that the default.
2012-09-23 21:44:03 +02:00
Sarah Hoffmann
2b8a563b52
fix edge cases when linking nodes
...
edge cases are: missing node in placex, empty name, empty extratags
2012-09-23 18:06:41 +02:00
Sarah Hoffmann
6b65b9086b
switch attributions to ODbL
2012-09-12 19:14:28 +02:00
Brian Quinion
1c75adb39f
defered delete should be done even if the place is otherwise blocked
2012-09-03 14:52:49 +01:00
Brian Quinion
afe30880b4
revert attempt to fix house number re-indexing on update, far too slow
2012-08-31 12:21:07 +01:00
Brian Quinion
8eb39d6a6f
limit reindexing to buildings / addresses
2012-08-29 11:33:33 +01:00
Brian Quinion
b1bd98f070
mark placex as needed re-indexin based on parent_place_id too
2012-08-28 19:05:01 +01:00
Brian Quinion
af7692c045
Merge branch 'master' of github.com:twain47/Nominatim
2012-08-28 18:42:06 +01:00
Brian Quinion
53466bb817
linked places not being updated on road modification
2012-08-28 18:41:02 +01:00
Sarah Hoffmann
fbc93d0c45
fix format error in polygon output
2012-08-27 23:17:17 +02:00
Brian Quinion
030873e0fb
reduce effect of missing world now importance is better quality
2012-08-25 20:05:05 +01:00
sprengm
7ff1395b96
make setup.php fail early on missing osm-file
...
make setup.php fail early if:
- no osm-file argument was supplied for --all or --import-data
- the supplied osm-file is not existing or not readable (file permissions)
2012-08-25 10:00:46 +02:00
Sarah Hoffmann
55d3f5a4b9
fix 500 on search for bounded and class query terms
...
Ignore bounded=1 if no viewbox parameter was given.
New centroid column in placex makes it necessary to name the table
when joining with classtype tables.
2012-08-25 01:09:52 +02:00
Sarah Hoffmann
9ab82a4f1f
avoid reassigning address rank of place itself
2012-08-20 23:33:35 +02:00
Sarah Hoffmann
1298d144e0
fix permissions of gb_postcode table
2012-08-19 23:51:31 +02:00
Sarah Hoffmann
8e004dca44
make sure first of each address rank is used
...
get_addressdata should not really return duplicates but if there are
the first result will be the best one, so make sure that one is used
2012-08-19 23:08:51 +02:00