Brian Quinion
b980f8e4e1
Import class:type from linked features to the extratags files. Use place tags (in extratags) as well as rank to determine feature type. i.e. allow a admin_level=6 feature also tagged as a place=city to still be found when doing a city search.
2013-02-28 12:50:47 +00: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
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
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
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
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
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
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
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
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
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
Brian Quinion
d1f266509a
Include the centre point on the details page
2012-12-17 15:28:37 +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
Sarah Hoffmann
fa1f23edfb
more isset checks for PHP variables
2012-12-12 18:49:21 +01:00
Brian Quinion
c98e59be03
included calculated importance on details. Change importance calc to prefer places with a wikipedia tag now that the code is better tested
2012-12-12 01:44:39 +00:00
Brian Quinion
0dafda7327
if doing structured query limit the types of osm place returned
2012-12-08 21:40:20 +00:00
Brian Quinion
274f381052
prune list of blocked items if too large, different costs for different page types
2012-12-08 21:39:24 +00:00
Brian Quinion
a276b6b53a
Experimental option to dry dropping query terms as part of search plan (disabled by default)
2012-12-03 17:41:29 +00:00
Brian Quinion
cc24d998e4
move deletable and polygons into default website
2012-12-03 14:26:29 +00:00
Sarah Hoffmann
e66df16ecb
add web view for import_polygon_delete
2012-11-29 21:44:59 +01:00
Brian Quinion
72fc234c50
Include the Last Updated timestamp in details
2012-11-18 14:58:46 +00:00
Sarah Hoffmann
4da0ed3204
don't search for country if house number was requested
2012-11-17 22:28:01 +01:00
Sarah Hoffmann
8d96e87b93
internally use higher result limits
...
Avoids that too few results are returned when there are duplicates
in the results due to linked places.
2012-11-17 21:16:47 +01:00
Sarah Hoffmann
e02c9b6e69
clean up details page
...
Make it pass as valid XHTML and move CSS into its own file.
2012-11-16 23:04:25 +01:00
Sarah Hoffmann
0c9630b24a
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
2012-11-16 22:35:53 +01:00
Brian Quinion
9eb5b62382
Accidentally used the same variable name for 2 things - broken search by class&type
2012-11-15 17:27:08 +00:00
Sarah Hoffmann
cc3e4aa532
use geometry WKT for highlighting in search view
...
also cleans up unused code in details view
2012-11-09 22:35:45 +01:00
Sarah Hoffmann
4bb56d98a8
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.
2012-11-08 22:21:20 +01:00
Sarah Hoffmann
0e3ac756c9
extend error reporting for invalid geometries
2012-11-08 00:06:47 +01:00
Brian Quinion
2b6a163ef9
Get route param working again after recent changes (implies bounded=1)
2012-11-07 01:22:17 +00:00
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