Commit Graph

86 Commits

Author SHA1 Message Date
Sarah Hoffmann
5c43821ebe munin graph for the import lag 2012-02-01 21:13:05 +00:00
Sarah Hoffmann
1edcd7208b don't classify normal SQL errors as deadlocks 2012-01-28 23:33:28 +00:00
Sarah Hoffmann
c5e69fadd0 improve import performance for special phrases
- create a temporary index on placex
- create indices on place_classtype_* tables after insert
- grant www-data permission to tables
2012-01-28 23:27:25 +00:00
Sarah Hoffmann
acadfcb2c5 extensions where introduced in postgresql in 9.1, not in 9.0 2012-01-21 12:09:43 +00:00
Sarah Hoffmann
cc564e2f31 - remove dependency on intarray extension
- new config options for postgresql version and 
  location of osm2pgsql and osmosis binaries
- new option --no-npi for update.php that supresses writing of NPIs in
  osmosis update mode
- add more GRANTs for www-data
2012-01-21 10:21:42 +00:00
Frederik Ramm
d7f4a7dac6 fix typo mentioned by mathieu monney on mapquest's forum two weeks ago. this typo is responsible for 'location_property_tiger does not exist' errors. 2011-10-21 06:48:04 +00:00
Frederik Ramm
edb1e89be3 create 'file' sequence required by update.php 2011-09-09 16:02:31 +00:00
Frederik Ramm
89a365787f bugfix nominatim 2011-09-09 16:00:34 +00:00
Brian Quinion
5e2b901106 fix miss-parsed regex with - sign in lat,lon query 2011-08-02 19:39:32 +00:00
Brian Quinion
4d16677d2e update place_id to BIGINT 2011-06-14 13:42:46 +00:00
Brian Quinion
adb0b6ae1e bigint update script 2011-06-10 13:41:51 +00:00
Brian Quinion
c115a53df7 over tokenising 'la' 2011-06-07 12:31:46 +00:00
Brian Quinion
e65f1c0c1a de-deplicate terms 2011-05-23 17:51:02 +00:00
Brian Quinion
616c7e2b40 allow for offset paramater in amenity searches 2011-05-23 16:36:36 +00:00
Brian Quinion
4dfbf2517b woops 2011-05-23 16:23:50 +00:00
Brian Quinion
c6982e7700 handle 'order state level queries better 2011-05-23 16:22:25 +00:00
Brian Quinion
535c3d60d1 handle 'order state level queries better 2011-05-23 16:12:54 +00:00
Brian Quinion
c8756ce921 handle 'in/near' for state and country level features differently 2011-05-23 14:30:43 +00:00
Brian Quinion
4c4798959e hack to handle state abreviations that overlap with 'the' in various non-english languages 2011-05-17 16:22:21 +00:00
Brian Quinion
588a3a5702 memory leak on large imports 2011-05-16 14:46:57 +00:00
Brian Quinion
6ff987322b country searches not filtered by countrycodes param, fixes #3756 2011-05-11 10:30:58 +00:00
Brian Quinion
6f946360c4 remove debuing information 2011-05-04 16:27:18 +00:00
Brian Quinion
c988be1ddf handle pure lat,lon search by passing to reverse geocoding and returning first match as a search result 2011-05-03 17:34:51 +00:00
Brian Quinion
63bc75b3dd enforce limit as maximum number of results 2011-05-03 14:22:22 +00:00
Brian Quinion
f561a3d1c7 Do not apply limit where we have a sub-search 2011-04-28 14:55:25 +00:00
Brian Quinion
5f97080c73 retry loop on osmosis 2011-04-27 12:14:33 +00:00
Brian Quinion
b3f2bdb822 addresses not claculated for some named poi 2011-04-08 15:10:31 +00:00
Brian Quinion
2eccb0e69d return actual centroid lat,lon of reverse geocoding result 2011-04-07 15:57:57 +00:00
Brian Quinion
1028c2444c move partiondef config file to settings, add --create-website option to build symlinks automatically 2011-04-06 18:19:40 +00:00
Brian Quinion
1767968f7c extra validation on import 2011-04-06 18:16:55 +00:00
Brian Quinion
942ed125d4 consider possibility that values with number in near start of search might be a house number (even if we have never seen them before). Also add better label for building:yes 2011-04-05 14:51:32 +00:00
Brian Quinion
5202e86022 fallback housenumber for items containing a number - not just number only 2011-04-02 15:07:48 +00:00
Brian Quinion
b67b60f7d9 don't classify region as a type of state in address details output 2011-03-31 16:02:37 +00:00
Brian Quinion
6466194710 limit fallback to pure number housenumbers 2011-03-28 11:37:17 +00:00
Brian Quinion
bf0710dd64 order final data set by importance, ignore search query score (importance seems to be better) 2011-03-25 11:55:13 +00:00
Brian Quinion
6e56919962 option to get list of search keywords 2011-03-25 11:53:17 +00:00
Brian Quinion
1951fddeab add option to filter by countrycodes=gb,fr list 2011-03-23 12:50:25 +00:00
Brian Quinion
b0ed31b6d4 configure tile set 2011-03-23 12:16:57 +00:00
Brian Quinion
44aa62d899 loading rank wrong way round 2011-03-21 10:15:29 +00:00
Brian Quinion
2767821cb0 output importance on details.php page 2011-03-20 23:34:36 +00:00
Brian Quinion
981649bf83 diff updates and npi diff updates 2011-03-18 12:36:17 +00:00
Brian Quinion
2148d81474 calculate search position based to 'importance' rather than address rank 2011-03-18 09:52:16 +00:00
Brian Quinion
cc6b90b490 drop requirement for zero distance record for each place_addressline, add import_npi_log for import logging 2011-03-11 14:03:18 +00:00
Brian Quinion
46ae96b608 preserve importance in search_name 2011-03-11 14:01:18 +00:00
Brian Quinion
95d50f35d0 deduplicate search term graph slightly earlier 2011-03-07 16:16:05 +00:00
Brian Quinion
c20103a461 Don't let character walk outside translation table 2011-03-07 12:44:04 +00:00
Brian Quinion
9c41353340 better error checking for middle of the sea 2011-02-22 20:01:26 +00:00
Frederik Ramm
fb6d13a1a7 log progress to stderr instead of stdout, to make use of unbuffered output 2011-02-21 12:41:44 +00:00
Frederik Ramm
b83af9c248 fix potential deadlock when writing a lot of data to a psql pipe and not reading what comes back;
stdout/stderr weren't used anyway so just connect them through
2011-02-21 00:02:17 +00:00
Frederik Ramm
a4c63c094f * use osm2pgsql from $PATH if none present locally
* do not display usage() on successful postcode generation
2011-02-18 09:18:37 +00:00