]>
git.openstreetmap.org Git - nominatim.git/log
Brian Quinion [Sat, 8 Dec 2012 17:58:24 +0000 (17:58 +0000)]
sort output of blocked list by block timestamp
Brian Quinion [Sat, 8 Dec 2012 17:43:18 +0000 (17:43 +0000)]
remove debug
Brian Quinion [Sat, 8 Dec 2012 17:38:10 +0000 (17:38 +0000)]
rate limiting using memcache
Brian Quinion [Wed, 5 Dec 2012 15:34:27 +0000 (15:34 +0000)]
jsonv2 returns wrong place_rank
Brian Quinion [Mon, 3 Dec 2012 17:41:29 +0000 (17:41 +0000)]
Experimental option to dry dropping query terms as part of search plan (disabled by default)
Brian Quinion [Mon, 3 Dec 2012 14:26:29 +0000 (14:26 +0000)]
move deletable and polygons into default website
Brian Quinion [Mon, 3 Dec 2012 14:14:40 +0000 (14:14 +0000)]
Merge branch 'master' of github.com:twain47/Nominatim
Sarah Hoffmann [Sun, 2 Dec 2012 22:51:45 +0000 (23:51 +0100)]
remove unused SQL statements
Sarah Hoffmann [Thu, 29 Nov 2012 20:58:05 +0000 (21:58 +0100)]
select rights on import_polygon_delete for web view
Sarah Hoffmann [Thu, 29 Nov 2012 20:44:59 +0000 (21:44 +0100)]
add web view for import_polygon_delete
Sarah Hoffmann [Thu, 29 Nov 2012 20:43:33 +0000 (21:43 +0100)]
add maintenance functions for deleting/updating regions
Brian Quinion [Wed, 28 Nov 2012 14:50:02 +0000 (14:50 +0000)]
Merge branch 'master' of github.com:twain47/Nominatim
IrlJidel [Mon, 19 Nov 2012 16:00:19 +0000 (16:00 +0000)]
Add css dir to create-website
Brian Quinion [Sun, 18 Nov 2012 14:58:46 +0000 (14:58 +0000)]
Include the Last Updated timestamp in details
Sarah Hoffmann [Sat, 17 Nov 2012 21:28:01 +0000 (22:28 +0100)]
don't search for country if house number was requested
Sarah Hoffmann [Sat, 17 Nov 2012 20:16:47 +0000 (21:16 +0100)]
internally use higher result limits
Avoids that too few results are returned when there are duplicates
in the results due to linked places.
Sarah Hoffmann [Fri, 16 Nov 2012 22:04:25 +0000 (23:04 +0100)]
clean up details page
Make it pass as valid XHTML and move CSS into its own file.
Sarah Hoffmann [Fri, 16 Nov 2012 21:22:04 +0000 (22:22 +0100)]
clean up html for search form
- move CSS to its own file
- make it pass as valid XHTML
- move attribution into Mapnik layer definition
- remove Osmarender layer
Brian Quinion [Thu, 15 Nov 2012 17:27:08 +0000 (17:27 +0000)]
Accidentally used the same variable name for 2 things - broken search by class&type
Brian Quinion [Wed, 14 Nov 2012 23:50:52 +0000 (23:50 +0000)]
script to pull language list from openstreetmap wiki
Brian Quinion [Wed, 14 Nov 2012 21:46:48 +0000 (21:46 +0000)]
update osm country grid to fully ODBL compatible data set. Update country_grid generation script.
Sarah Hoffmann [Sun, 11 Nov 2012 21:46:22 +0000 (22:46 +0100)]
wrap KML polygon in XML output with geokml element
Sarah Hoffmann [Sun, 11 Nov 2012 15:41:06 +0000 (16:41 +0100)]
give www-data select rights on query_log
Sarah Hoffmann [Fri, 9 Nov 2012 21:35:45 +0000 (22:35 +0100)]
use geometry WKT for highlighting in search view
also cleans up unused code in details view
Sarah Hoffmann [Thu, 8 Nov 2012 22:03:00 +0000 (23:03 +0100)]
forgot some brackets
Sarah Hoffmann [Thu, 8 Nov 2012 21:21:20 +0000 (22:21 +0100)]
simplify geometry handling in details page
Hand the WKT directly to OpenLayers and let the client do the parsing,
it will be able to handle multipolygons as well as line strings.
Simplify geometries if they have too many points.
Also limit the number of child objects listed to 500.
Sarah Hoffmann [Thu, 8 Nov 2012 19:37:23 +0000 (20:37 +0100)]
avoid matching of error message twice
Brian Quinion [Thu, 8 Nov 2012 00:46:39 +0000 (00:46 +0000)]
include edit links for errors
Brian Quinion [Wed, 7 Nov 2012 23:46:50 +0000 (23:46 +0000)]
make selfintersections a link
Sarah Hoffmann [Wed, 7 Nov 2012 23:06:47 +0000 (00:06 +0100)]
extend error reporting for invalid geometries
Brian Quinion [Wed, 7 Nov 2012 16:51:41 +0000 (16:51 +0000)]
Remove '(named features only)' because it isn't true any more
Brian Quinion [Wed, 7 Nov 2012 01:22:17 +0000 (01:22 +0000)]
Get route param working again after recent changes (implies bounded=1)
Brian Quinion [Wed, 7 Nov 2012 00:48:20 +0000 (00:48 +0000)]
Missing some exact name matches when searching for 'special' phrases
Brian Quinion [Tue, 6 Nov 2012 20:04:31 +0000 (20:04 +0000)]
mising string concatenation (.)
Brian Quinion [Tue, 6 Nov 2012 13:16:19 +0000 (13:16 +0000)]
move error messages to consistent 'userError' function and return 400 Bad Request
Brian Quinion [Tue, 6 Nov 2012 13:10:25 +0000 (13:10 +0000)]
make number of polygon outputs allowed a constant
Brian Quinion [Tue, 6 Nov 2012 13:06:46 +0000 (13:06 +0000)]
limit polygon output to one type as a time
Brian Quinion [Tue, 6 Nov 2012 00:08:01 +0000 (00:08 +0000)]
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
Brian Quinion [Mon, 5 Nov 2012 22:47:42 +0000 (22:47 +0000)]
Handle multipolygon geometry a little bit (return first outer ring)
Brian Quinion [Mon, 5 Nov 2012 14:04:14 +0000 (14:04 +0000)]
remove accidentally committed exit command
Brian Quinion [Mon, 5 Nov 2012 14:00:54 +0000 (14:00 +0000)]
include a bit of extra details for polygon errors in output on details.php page
Brian Quinion [Mon, 5 Nov 2012 13:57:02 +0000 (13:57 +0000)]
don't include linked_place_id places in the sql output (causes errors on paging / number of results returned)
Brian Quinion [Fri, 2 Nov 2012 17:52:33 +0000 (17:52 +0000)]
Allow option of structured search queries (params amenity,street,city,county,state,country)
Brian Quinion [Fri, 2 Nov 2012 17:42:05 +0000 (17:42 +0000)]
fix some php warnings for cleaner output
Brian Quinion [Thu, 1 Nov 2012 01:47:30 +0000 (01:47 +0000)]
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
Brian Quinion [Thu, 1 Nov 2012 01:46:19 +0000 (01:46 +0000)]
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
Brian Quinion [Wed, 31 Oct 2012 16:26:15 +0000 (16:26 +0000)]
new development version 2.1
Brian Quinion [Mon, 29 Oct 2012 14:23:05 +0000 (14:23 +0000)]
don't exit during osmosis setup
Brian Quinion [Mon, 22 Oct 2012 02:09:38 +0000 (03:09 +0100)]
Automatically calculate the state file for replication from the last node in the db
Sarah Hoffmann [Sun, 14 Oct 2012 14:09:12 +0000 (16:09 +0200)]
correct penalty for multi-word countries
Country name needs to be the final one within the wordset, not
in the final of all wordsets.
Sarah Hoffmann [Sat, 13 Oct 2012 07:06:26 +0000 (09:06 +0200)]
import time uses UTC
Sarah Hoffmann [Tue, 9 Oct 2012 21:57:54 +0000 (23:57 +0200)]
use geometry column for special phrase queries
It has an index, centroid does not.
Sarah Hoffmann [Tue, 9 Oct 2012 20:20:05 +0000 (22:20 +0200)]
typo
Sarah Hoffmann [Tue, 9 Oct 2012 20:05:37 +0000 (22:05 +0200)]
use calculated_country_code for postcodes
Sarah Hoffmann [Sun, 7 Oct 2012 22:05:23 +0000 (00:05 +0200)]
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.
Sarah Hoffmann [Tue, 2 Oct 2012 20:52:38 +0000 (22:52 +0200)]
update to latests osm2pgsql
Sarah Hoffmann [Sun, 30 Sep 2012 09:46:00 +0000 (11:46 +0200)]
delete more hardcoded rules for special phrases
both cases are now sufficiently covered by settings/phrase_settings.php
Sarah Hoffmann [Sun, 30 Sep 2012 08:40:44 +0000 (10:40 +0200)]
lift restriction on special search term class
All too frequent classes are already filtered out on import of the
special search term tables.
Sarah Hoffmann [Sun, 30 Sep 2012 07:51:54 +0000 (09:51 +0200)]
Merge remote-tracking branch 'lonvia/partial-search-terms'
Sarah Hoffmann [Sat, 29 Sep 2012 16:53:21 +0000 (18:53 +0200)]
update osm2pgsql to latest version
Sarah Hoffmann [Sat, 29 Sep 2012 16:25:22 +0000 (18:25 +0200)]
remove mountain ranges from addresses
Sarah Hoffmann [Sat, 29 Sep 2012 16:02:32 +0000 (18:02 +0200)]
skip is_in items already in address vector
Sarah Hoffmann [Fri, 28 Sep 2012 20:58:29 +0000 (22:58 +0200)]
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.
Sarah Hoffmann [Mon, 24 Sep 2012 22:36:34 +0000 (00:36 +0200)]
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.
Sarah Hoffmann [Mon, 24 Sep 2012 18:32:43 +0000 (20:32 +0200)]
use rank_address for linking places and boundaries
This manages to match up a lot more places and boundaries below city level.
Sarah Hoffmann [Sun, 23 Sep 2012 20:03:28 +0000 (22:03 +0200)]
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.
Sarah Hoffmann [Sun, 23 Sep 2012 19:44:03 +0000 (21:44 +0200)]
switch to distribution-supplied osmosis
Both, Debian and Ubuntu now come with a reasonably recent version
of osmosis. Make using that the default.
Sarah Hoffmann [Sun, 23 Sep 2012 16:06:41 +0000 (18:06 +0200)]
fix edge cases when linking nodes
edge cases are: missing node in placex, empty name, empty extratags
Sarah Hoffmann [Wed, 12 Sep 2012 17:14:28 +0000 (19:14 +0200)]
switch attributions to ODbL
Brian Quinion [Mon, 3 Sep 2012 13:52:49 +0000 (14:52 +0100)]
defered delete should be done even if the place is otherwise blocked
Brian Quinion [Fri, 31 Aug 2012 11:21:07 +0000 (12:21 +0100)]
revert attempt to fix house number re-indexing on update, far too slow
Brian Quinion [Wed, 29 Aug 2012 10:33:33 +0000 (11:33 +0100)]
limit reindexing to buildings / addresses
Brian Quinion [Tue, 28 Aug 2012 18:05:01 +0000 (19:05 +0100)]
mark placex as needed re-indexin based on parent_place_id too
Brian Quinion [Tue, 28 Aug 2012 17:42:06 +0000 (18:42 +0100)]
Merge branch 'master' of github.com:twain47/Nominatim
Brian Quinion [Tue, 28 Aug 2012 17:41:02 +0000 (18:41 +0100)]
linked places not being updated on road modification
Sarah Hoffmann [Mon, 27 Aug 2012 21:17:17 +0000 (23:17 +0200)]
fix format error in polygon output
Brian Quinion [Sat, 25 Aug 2012 19:05:05 +0000 (20:05 +0100)]
reduce effect of missing world now importance is better quality
sprengm [Fri, 24 Aug 2012 15:55:19 +0000 (17:55 +0200)]
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)
Sarah Hoffmann [Fri, 24 Aug 2012 23:09:52 +0000 (01:09 +0200)]
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.
Sarah Hoffmann [Mon, 20 Aug 2012 21:33:35 +0000 (23:33 +0200)]
avoid reassigning address rank of place itself
Sarah Hoffmann [Sun, 19 Aug 2012 21:51:31 +0000 (23:51 +0200)]
fix permissions of gb_postcode table
Sarah Hoffmann [Sun, 19 Aug 2012 21:08:51 +0000 (23:08 +0200)]
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
Sarah Hoffmann [Sat, 18 Aug 2012 08:22:35 +0000 (10:22 +0200)]
import TIGER data into temporary table
Import TIGER data into a temporary table first that later replaces
the current location_property_tiger table. This way index creation
on the table can be delayed until after the import which should
speed up the import and result in significantly smaller indexes.
Also removed index on parent_place_id as it is covered by
idx_location_property_tiger_housenumber_parent_place_id.
Sarah Hoffmann [Sat, 18 Aug 2012 08:20:46 +0000 (10:20 +0200)]
gitignore dynamically created files
Sarah Hoffmann [Tue, 31 Jul 2012 06:27:59 +0000 (08:27 +0200)]
places that cannot be part of an address still should get an address themselves
Sarah Hoffmann [Mon, 30 Jul 2012 22:42:55 +0000 (00:42 +0200)]
don't create index idx_placex_sector twice
Sarah Hoffmann [Mon, 30 Jul 2012 22:31:38 +0000 (00:31 +0200)]
fail on error
- stop indexing if there is any other error than deadlock from the DB
- stop import if osm2pgsql or indexing fails
Sarah Hoffmann [Mon, 23 Jul 2012 21:34:13 +0000 (23:34 +0200)]
send place_rank in jsonv2 format
Sarah Hoffmann [Sun, 22 Jul 2012 07:02:55 +0000 (09:02 +0200)]
Merge branch 'patch-1' of https://github.com/Firefishy/Nominatim
Grant [Sun, 22 Jul 2012 02:45:45 +0000 (04:45 +0200)]
Fix repeating lat twice in span instead of lat, lon.
Sarah Hoffmann [Fri, 20 Jul 2012 22:53:53 +0000 (00:53 +0200)]
Merge remote-tracking branch 'lonvia/address-order'
Sarah Hoffmann [Fri, 20 Jul 2012 22:41:18 +0000 (00:41 +0200)]
adapt distance heuristics for nodes
Include only those nodes that are closer than 1.5 times the distance
of the closest feature of the same address rank.
Sarah Hoffmann [Fri, 13 Jul 2012 20:33:09 +0000 (22:33 +0200)]
gracefully fail if nodes from an address interpolation are missing
Daniele Forsi [Tue, 10 Jul 2012 13:36:17 +0000 (15:36 +0200)]
Fix more typos
Daniele Forsi [Tue, 10 Jul 2012 13:31:01 +0000 (15:31 +0200)]
Fix typos found with codespell in comments
Daniele Forsi [Mon, 9 Jul 2012 17:07:09 +0000 (19:07 +0200)]
Fix typos in function name
perl -p -e s/getPrefferedLangauges/getPreferredLanguages/ -i */*.php
Daniele Forsi [Mon, 9 Jul 2012 16:16:54 +0000 (18:16 +0200)]
Fix wrong variable used with PEAR::IsError()
Fixes:
PHP Fatal error: Cannot use object of type DB_Error as array in /home/daniele/Programmazione/OSM/Nominatim/website/reverse.php on line 104
Sarah Hoffmann [Tue, 3 Jul 2012 20:44:06 +0000 (22:44 +0200)]
excluded place nodes outside parent boundaries from addresses
Changes slightly the logic which decides if a guessed places
(i.e. a place node) is included in an address: it will be
part of the address only if it is inside the next lower
available boundary. This fixes problematic cases where
neighbouring entities have additional admin levels.
Sarah Hoffmann [Tue, 3 Jul 2012 13:09:00 +0000 (16:09 +0300)]
put libraries in right place when linking
Sarah Hoffmann [Sun, 1 Jul 2012 15:24:27 +0000 (17:24 +0200)]
use json_encode in search stuff as well
remove JSON_UNESCAPED_UNICODE, supported only by php >=5.3.3 and
clients should be able to handle the escaping