]> git.openstreetmap.org Git - nominatim.git/log
nominatim.git
11 years agorespect exclude_place_ids in poi searches
Sarah Hoffmann [Fri, 18 Jan 2013 21:27:18 +0000 (22:27 +0100)]
respect exclude_place_ids in poi searches

11 years agoallow country name at beginning for reverse order
Sarah Hoffmann [Fri, 18 Jan 2013 19:54:28 +0000 (20:54 +0100)]
allow country name at beginning for reverse order

11 years agoMerge branch 'master' of github.com:twain47/Nominatim
Brian Quinion [Mon, 14 Jan 2013 22:31:20 +0000 (22:31 +0000)]
Merge branch 'master' of github.com:twain47/Nominatim

11 years agolittle bit more space to make the design work in chrome
Brian Quinion [Mon, 14 Jan 2013 22:29:54 +0000 (22:29 +0000)]
little bit more space to make the design work in chrome

11 years agosupport custom psql port in setup.php
Sarah Hoffmann [Mon, 14 Jan 2013 21:48:52 +0000 (22:48 +0100)]
support custom psql port in setup.php

patch by b3nn0 (see http://trac.openstreetmap.org/ticket/4736)

11 years agouse Postgis Version variable
appelflap [Sun, 6 Jan 2013 18:48:30 +0000 (19:48 +0100)]
use Postgis Version variable

12 years agoinclude zip codes for addresses linked to the street in the address search terms
Brian Quinion [Thu, 20 Dec 2012 17:49:37 +0000 (17:49 +0000)]
include zip codes for addresses linked to the street in the address search terms

12 years agoperformance: for low frequency name terms disable use of postgresql address index...
Brian Quinion [Thu, 20 Dec 2012 17:47:57 +0000 (17:47 +0000)]
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.

12 years agowrong variable name in json output
Brian Quinion [Thu, 20 Dec 2012 01:28:10 +0000 (01:28 +0000)]
wrong variable name in json output

12 years agorelease in postgis version string is optional
Brian Quinion [Tue, 18 Dec 2012 17:39:01 +0000 (17:39 +0000)]
release in postgis version string is optional

12 years agomake sure rank 28 to 30 places are assigned a centroid value
Brian Quinion [Tue, 18 Dec 2012 13:37:48 +0000 (13:37 +0000)]
make sure rank 28 to 30 places are assigned a centroid value

12 years agoadd constant to define postgis version. Verify definted version constants are correc...
Brian Quinion [Tue, 18 Dec 2012 13:09:50 +0000 (13:09 +0000)]
add constant to define postgis version.  Verify definted version constants are correct during database creation.

12 years agouse the new centroid property of placex in queries rather than calculating using...
Brian Quinion [Tue, 18 Dec 2012 12:50:34 +0000 (12:50 +0000)]
use the new centroid property of placex in queries rather than calculating using st_centroid(geometry)

12 years agoincrease search radius for named roads
Sarah Hoffmann [Mon, 17 Dec 2012 21:14:11 +0000 (22:14 +0100)]
increase search radius for named roads

alleviates symptoms of trac ticket #4719

12 years agoInclude the centre point on the details page
Brian Quinion [Mon, 17 Dec 2012 15:28:37 +0000 (15:28 +0000)]
Include the centre point on the details page

12 years agoonly add Access-Control-Allow-Headers if needed
Brian Quinion [Mon, 17 Dec 2012 15:00:49 +0000 (15:00 +0000)]
only add Access-Control-Allow-Headers if needed

12 years agoChange access control to implement more of CORS. Change so OPTIONS requests don...
Brian Quinion [Mon, 17 Dec 2012 00:24:58 +0000 (00:24 +0000)]
Change access control to implement more of CORS.  Change so OPTIONS requests don't do an actual search/reverse request

12 years agoproperly close connections to postgres
Sarah Hoffmann [Sun, 16 Dec 2012 15:23:50 +0000 (16:23 +0100)]
properly close connections to postgres

12 years agoinvalidate rank >27 places around roads
Sarah Hoffmann [Sun, 16 Dec 2012 10:54:46 +0000 (11:54 +0100)]
invalidate rank >27 places around roads

Ensures that addresses are correctly reparented if a road is inserted
after the address itself was inserted.

12 years agocheck return of DB creation command
Sarah Hoffmann [Sat, 15 Dec 2012 10:31:25 +0000 (11:31 +0100)]
check return of DB creation command

12 years agoMerge branch 'master' of github.com:twain47/Nominatim
Brian Quinion [Fri, 14 Dec 2012 20:48:33 +0000 (20:48 +0000)]
Merge branch 'master' of github.com:twain47/Nominatim

12 years agoadd support for boundary:postal_code, handle fallback address elements more elegantly
Brian Quinion [Fri, 14 Dec 2012 20:48:27 +0000 (20:48 +0000)]
add support for boundary:postal_code, handle fallback address elements more elegantly

12 years agoadd street to the address of rank >27 objects
Sarah Hoffmann [Thu, 13 Dec 2012 19:31:52 +0000 (20:31 +0100)]
add street to the address of rank >27 objects

fixes trac ticket #4711

12 years agomore isset checks for PHP variables
Sarah Hoffmann [Sun, 9 Dec 2012 08:35:34 +0000 (09:35 +0100)]
more isset checks for PHP variables

12 years agobetter fallback for address component names (avoid labeling mutliple values 'boundary...
Brian Quinion [Wed, 12 Dec 2012 02:09:18 +0000 (02:09 +0000)]
better fallback for address component names (avoid labeling mutliple values 'boundary') and handle situation where a place doesn't have a valid name tag for fallback.

12 years agoincluded calculated importance on details. Change importance calc to prefer places...
Brian Quinion [Wed, 12 Dec 2012 01:44:39 +0000 (01:44 +0000)]
included calculated importance on details.  Change importance calc to prefer places with a wikipedia tag now that the code is better tested

12 years agorestrict to one sleep per bucket. A second sleep while already sleeping results...
Brian Quinion [Mon, 10 Dec 2012 01:36:33 +0000 (01:36 +0000)]
restrict to one sleep per bucket.  A second sleep while already sleeping results in a block.

12 years agoUse Etc/UTC timezone for updates for reliability
Brian Quinion [Sat, 8 Dec 2012 21:42:12 +0000 (21:42 +0000)]
Use Etc/UTC timezone for updates for reliability

12 years agomove memcache bucket functions to their own file
Brian Quinion [Sat, 8 Dec 2012 21:41:09 +0000 (21:41 +0000)]
move memcache bucket functions to their own file

12 years agoif doing structured query limit the types of osm place returned
Brian Quinion [Sat, 8 Dec 2012 21:40:20 +0000 (21:40 +0000)]
if doing structured query limit the types of osm place returned

12 years agoprune list of blocked items if too large, different costs for different page types
Brian Quinion [Sat, 8 Dec 2012 21:39:24 +0000 (21:39 +0000)]
prune list of blocked items if too large, different costs for different page types

12 years agotiny formating change to utils/blocks.php
Brian Quinion [Sat, 8 Dec 2012 18:56:59 +0000 (18:56 +0000)]
tiny formating change to utils/blocks.php

12 years agoadd an option for max number of sleeping threads
Brian Quinion [Sat, 8 Dec 2012 18:55:17 +0000 (18:55 +0000)]
add an option for max number of sleeping threads

12 years agosort output of blocked list by block timestamp
Brian Quinion [Sat, 8 Dec 2012 17:58:24 +0000 (17:58 +0000)]
sort output of blocked list by block timestamp

12 years agoremove debug
Brian Quinion [Sat, 8 Dec 2012 17:43:18 +0000 (17:43 +0000)]
remove debug

12 years agorate limiting using memcache
Brian Quinion [Sat, 8 Dec 2012 17:38:10 +0000 (17:38 +0000)]
rate limiting using memcache

12 years agojsonv2 returns wrong place_rank
Brian Quinion [Wed, 5 Dec 2012 15:34:27 +0000 (15:34 +0000)]
jsonv2 returns wrong place_rank

12 years agoExperimental option to dry dropping query terms as part of search plan (disabled...
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)

12 years agomove deletable and polygons into default website
Brian Quinion [Mon, 3 Dec 2012 14:26:29 +0000 (14:26 +0000)]
move deletable and polygons into default website

12 years agoMerge branch 'master' of github.com:twain47/Nominatim
Brian Quinion [Mon, 3 Dec 2012 14:14:40 +0000 (14:14 +0000)]
Merge branch 'master' of github.com:twain47/Nominatim

12 years agoremove unused SQL statements
Sarah Hoffmann [Sun, 2 Dec 2012 22:51:45 +0000 (23:51 +0100)]
remove unused SQL statements

12 years agoselect rights on import_polygon_delete for web view
Sarah Hoffmann [Thu, 29 Nov 2012 20:58:05 +0000 (21:58 +0100)]
select rights on import_polygon_delete for web view

12 years agoadd web view for import_polygon_delete
Sarah Hoffmann [Thu, 29 Nov 2012 20:44:59 +0000 (21:44 +0100)]
add web view for import_polygon_delete

12 years agoadd maintenance functions for deleting/updating regions
Sarah Hoffmann [Thu, 29 Nov 2012 20:43:33 +0000 (21:43 +0100)]
add maintenance functions for deleting/updating regions

12 years agoMerge branch 'master' of github.com:twain47/Nominatim
Brian Quinion [Wed, 28 Nov 2012 14:50:02 +0000 (14:50 +0000)]
Merge branch 'master' of github.com:twain47/Nominatim

12 years agoAdd css dir to create-website
IrlJidel [Mon, 19 Nov 2012 16:00:19 +0000 (16:00 +0000)]
Add css dir to create-website

12 years agoInclude the Last Updated timestamp in details
Brian Quinion [Sun, 18 Nov 2012 14:58:46 +0000 (14:58 +0000)]
Include the Last Updated timestamp in details

12 years agodon't search for country if house number was requested
Sarah Hoffmann [Sat, 17 Nov 2012 21:28:01 +0000 (22:28 +0100)]
don't search for country if house number was requested

12 years agointernally use higher result limits
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.

12 years agoclean up details page
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.

12 years agoclean up html for search form
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

12 years agoAccidentally used the same variable name for 2 things - broken search by class&type
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

12 years agoscript to pull language list from openstreetmap wiki
Brian Quinion [Wed, 14 Nov 2012 23:50:52 +0000 (23:50 +0000)]
script to pull language list from openstreetmap wiki

12 years agoupdate osm country grid to fully ODBL compatible data set. Update country_grid gener...
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.

12 years agowrap KML polygon in XML output with geokml element
Sarah Hoffmann [Sun, 11 Nov 2012 21:46:22 +0000 (22:46 +0100)]
wrap KML polygon in XML output with geokml element

12 years agogive www-data select rights on query_log
Sarah Hoffmann [Sun, 11 Nov 2012 15:41:06 +0000 (16:41 +0100)]
give www-data select rights on query_log

12 years agouse geometry WKT for highlighting in search view
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

12 years agoforgot some brackets
Sarah Hoffmann [Thu, 8 Nov 2012 22:03:00 +0000 (23:03 +0100)]
forgot some brackets

12 years agosimplify geometry handling in details page
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.

12 years agoavoid matching of error message twice
Sarah Hoffmann [Thu, 8 Nov 2012 19:37:23 +0000 (20:37 +0100)]
avoid matching of error message twice

12 years agoinclude edit links for errors
Brian Quinion [Thu, 8 Nov 2012 00:46:39 +0000 (00:46 +0000)]
include edit links for errors

12 years agomake selfintersections a link
Brian Quinion [Wed, 7 Nov 2012 23:46:50 +0000 (23:46 +0000)]
make selfintersections a link

12 years agoextend error reporting for invalid geometries
Sarah Hoffmann [Wed, 7 Nov 2012 23:06:47 +0000 (00:06 +0100)]
extend error reporting for invalid geometries

12 years agoRemove '(named features only)' because it isn't true any more
Brian Quinion [Wed, 7 Nov 2012 16:51:41 +0000 (16:51 +0000)]
Remove '(named features only)' because it isn't true any more

12 years agoGet route param working again after recent changes (implies bounded=1)
Brian Quinion [Wed, 7 Nov 2012 01:22:17 +0000 (01:22 +0000)]
Get route param working again after recent changes (implies bounded=1)

12 years agoMissing some exact name matches when searching for 'special' phrases
Brian Quinion [Wed, 7 Nov 2012 00:48:20 +0000 (00:48 +0000)]
Missing some exact name matches when searching for 'special' phrases

12 years agomising string concatenation (.)
Brian Quinion [Tue, 6 Nov 2012 20:04:31 +0000 (20:04 +0000)]
mising string concatenation (.)

12 years agomove error messages to consistent 'userError' function and return 400 Bad Request
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

12 years agomake number of polygon outputs allowed a constant
Brian Quinion [Tue, 6 Nov 2012 13:10:25 +0000 (13:10 +0000)]
make number of polygon outputs allowed a constant

12 years agolimit polygon output to one type as a time
Brian Quinion [Tue, 6 Nov 2012 13:06:46 +0000 (13:06 +0000)]
limit polygon output to one type as a time

12 years agoAdd options to output polygon in various formats: polygon_geojson=1&polygon_svg=1...
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

12 years agoHandle multipolygon geometry a little bit (return first outer ring)
Brian Quinion [Mon, 5 Nov 2012 22:47:42 +0000 (22:47 +0000)]
Handle multipolygon geometry a little bit (return first outer ring)

12 years agoremove accidentally committed exit command
Brian Quinion [Mon, 5 Nov 2012 14:04:14 +0000 (14:04 +0000)]
remove accidentally committed exit command

12 years agoinclude a bit of extra details for polygon errors in output on details.php page
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

12 years agodon't include linked_place_id places in the sql output (causes errors on paging ...
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)

12 years agoAllow option of structured search queries (params amenity,street,city,county,state...
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)

12 years agofix some php warnings for cleaner output
Brian Quinion [Fri, 2 Nov 2012 17:42:05 +0000 (17:42 +0000)]
fix some php warnings for cleaner output

12 years agohstore in 9.2 replaces k=>v with hstore(k,v). Update sql to reflect change and intro...
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

12 years agohstore in 9.2 replaces k=>v with hstore(k,v). Update sql to reflect change and intro...
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

12 years agonew development version 2.1
Brian Quinion [Wed, 31 Oct 2012 16:26:15 +0000 (16:26 +0000)]
new development version 2.1

12 years agodon't exit during osmosis setup
Brian Quinion [Mon, 29 Oct 2012 14:23:05 +0000 (14:23 +0000)]
don't exit during osmosis setup

12 years agoAutomatically calculate the state file for replication from the last node in the db
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

12 years agocorrect penalty for multi-word countries
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.

12 years agoimport time uses UTC
Sarah Hoffmann [Sat, 13 Oct 2012 07:06:26 +0000 (09:06 +0200)]
import time uses UTC

12 years agouse geometry column for special phrase queries
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.

12 years agotypo
Sarah Hoffmann [Tue, 9 Oct 2012 20:20:05 +0000 (22:20 +0200)]
typo

12 years agouse calculated_country_code for postcodes
Sarah Hoffmann [Tue, 9 Oct 2012 20:05:37 +0000 (22:05 +0200)]
use calculated_country_code for postcodes

12 years agoremove country name from address name vector
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.

12 years agoupdate to latests osm2pgsql
Sarah Hoffmann [Tue, 2 Oct 2012 20:52:38 +0000 (22:52 +0200)]
update to latests osm2pgsql

12 years agodelete more hardcoded rules for special phrases
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

12 years agolift restriction on special search term class
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.

12 years agoMerge remote-tracking branch 'lonvia/partial-search-terms'
Sarah Hoffmann [Sun, 30 Sep 2012 07:51:54 +0000 (09:51 +0200)]
Merge remote-tracking branch 'lonvia/partial-search-terms'

12 years agoupdate osm2pgsql to latest version
Sarah Hoffmann [Sat, 29 Sep 2012 16:53:21 +0000 (18:53 +0200)]
update osm2pgsql to latest version

12 years agoremove mountain ranges from addresses
Sarah Hoffmann [Sat, 29 Sep 2012 16:25:22 +0000 (18:25 +0200)]
remove mountain ranges from addresses

12 years agoskip is_in items already in address vector
Sarah Hoffmann [Sat, 29 Sep 2012 16:02:32 +0000 (18:02 +0200)]
skip is_in items already in address vector

12 years agocheck for empty relation before linking
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.

12 years agoignore frequent partial search terms
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.

12 years agouse rank_address for linking places and boundaries
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.

12 years agopatch replication path on --osmosis-init
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.

12 years agoswitch to distribution-supplied osmosis
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.