Sarah Hoffmann
cb01226f29
change code to work with a 64-bit node size osm2pgsql
...
This breaks the 32-bit node size version.
2012-04-26 21:11:51 +02:00
Brian Quinion
b8db117bd0
Merge pull request #5 from mfn/improve_errmsg
...
Do not swallow PEAR error during setup in import-data.
2012-04-26 06:50:58 -07:00
Brian Quinion
210a899fc9
depreciate place=region due to common miss-use
2012-04-26 13:11:56 +01:00
Brian Quinion
f55e3c1ef8
link nodes and relations using name->'name' index lookup instead of search_name
2012-04-26 13:01:26 +01:00
mfn
fd3fcea539
Do not swallow PEAR error.
2012-04-26 13:30:49 +02:00
Brian Quinion
9b01ddd641
set osm2pgsql cache memory to a default based on memory in the machine
2012-04-26 01:35:06 +01:00
Sarah Hoffmann
7b430bc731
Merge branch 'continent' of https://github.com/datendelphin/Nominatim
2012-04-20 23:19:52 +02:00
Sarah Hoffmann
6522e531e4
add support for Irish townlands
...
To work properly, osm2pgsql needs to be updated to the latest version.
2012-04-20 22:13:03 +02:00
Datendelphin
5e6a9638a8
only calculate country for search ranks country and below
2012-04-20 16:17:13 +02:00
Sarah Hoffmann
aaca88d5a6
allow slashes in house numbers
2012-04-16 15:33:13 +02:00
Sarah Hoffmann
653c05329d
Format of replicate-sequence URL has changed
...
Additionally update/init import_status in the DB. If this is not
initialized here, subsequent updates of the status won't work.
2012-04-15 17:45:01 +02:00
Sarah Hoffmann
5f036d9923
ignore postcode boundaries without postcode
2012-04-14 09:27:10 +02:00
Sarah Hoffmann
1a9f05fd3f
missing brackets in default name assignment
2012-04-14 08:56:07 +02:00
Sarah Hoffmann
3f8fcd4055
add switch for osm2pgsql cache size
...
also increased the default to 15GB to accaommodate growing planet
2012-04-11 23:39:07 +02:00
Sarah Hoffmann
625b1cd17d
Merge branch 'mountain_pass' of https://github.com/datendelphin/Nominatim
2012-04-11 22:21:06 +02:00
Sarah Hoffmann
7ed4c28405
force UTF-8 database
2012-04-11 22:16:35 +02:00
Datendelphin
6aa42cb36a
ranking for mountain_pass
2012-04-06 18:34:45 +02:00
Brian Quinion
e62e75f1a7
Only link polygons on admin_centre is not already found a label AND if exactl search_rank match
2012-04-02 12:48:51 +01:00
Brian Quinion
5e167f49d2
search_name.name_vector index is now required during initial index due to code to merge relations and nodes
2012-04-01 13:52:58 +01:00
Brian Quinion
bfe5119742
Update details.php to show linked places
2012-04-01 02:38:40 +01:00
Brian Quinion
c8c8471e73
Merge branch 'master' of github.com:twain47/Nominatim
2012-04-01 01:48:45 +01:00
Brian Quinion
041b3edf89
Adds code to merge place polygon and points using:
...
label relation member
admin_center, admin_centre relation member (with same name)
exact name, search_rank and location match
Adding this requires a new column and index:
SELECT AddGeometryColumn('placex', 'centroid', 4326, 'GEOMETRY', 2);
CREATE INDEX idx_placex_linked_place_id ON placex USING BTREE (linked_place_id);
2012-04-01 01:40:50 +01:00
Sarah Hoffmann
7391e00bc3
postgresq 8.4 backward compatibility: count hash size with akeys instead of hash_to_array
2012-03-30 00:52:08 +02:00
Sarah Hoffmann
9d1845a338
don't use column names for variable names, 8.4 fails on them
2012-03-29 23:48:29 +02:00
Brian Quinion
80cf5df1cd
Merge branch 'master' of github.com:twain47/Nominatim
2012-03-26 23:57:24 +01:00
Brian Quinion
b99a043c78
Use GB postcode table as definitive source. resort by pressence of search word in output address and other misc very minor changes not commited from MQ servers
2012-03-22 00:34:56 +00:00
Sarah Hoffmann
b6db7c17f9
countries need language list as well
2012-03-21 20:59:35 +01:00
Sarah Hoffmann
248b6ec90f
Black/whitelisting for special phrases
...
Allows to restrict the special phrases imported from the wiki.
Blacklist allows to exclude certain class/type combinations.
Whitelist allows to define an allowed subset of types for a class.
Adjust to your liking in settings/phrase_settings.php before running
the specialphrases script.
2012-03-21 00:40:35 +01:00
Sarah Hoffmann
b1e10bce0d
use X/Y max/min functions instead of box making
...
There is a strange bug in postgis where for some coordinates
it does not make a proper box around a point.
2012-03-18 18:18:33 +01:00
Sarah Hoffmann
4d7e0d97b2
return a 500 on database error
2012-03-18 17:58:19 +01:00
Sarah Hoffmann
57ef20cc7c
only re-index addressable places
...
exclude places from hierarchical updates when they are only addressed
through their parent and do not have a name (thus no entry in search
name)
2012-03-18 16:15:45 +01:00
Sarah Hoffmann
84ca84982d
remove array_agg
...
shipped with postgresql in all supported versions
2012-03-18 16:12:41 +01:00
Sarah Hoffmann
ad125a9913
munin graph for request counts
2012-03-10 22:53:38 +01:00
Sarah Hoffmann
1fa9441113
sanity check for address interpolation
2012-03-10 00:08:06 +01:00
Sarah Hoffmann
e8b43eeaad
avoid deletes for new places
2012-03-10 00:06:28 +01:00
Sarah Hoffmann
44f5058deb
restrict deferred delete to concerned place
...
Deleting by osm_type/osm_id goes wrong if the place was reimported
because of a change in geometry, admin_level etc. The newly created
place is deleted as well in this case.
2012-03-09 23:47:25 +01:00
Sarah Hoffmann
a517dd0ccf
send fail messages to error log
2012-03-04 19:06:20 +01:00
Sarah Hoffmann
d88778a561
respect addressdetails parameter in json output
2012-03-04 17:45:53 +01:00
Sarah Hoffmann
c3233cb951
convert CRLF to make git happy
2012-03-04 16:41:43 +01:00
Sarah Hoffmann
fa3fe7d056
restrict detection of lat/lon pairs
...
Only interpret numbers as geo coordinates if they are in the
actual range for latitude and longitude.
2012-03-04 14:50:26 +01:00
Sarah Hoffmann
fec4c3c301
create proper token array for unknown housenumbers
2012-03-04 14:40:13 +01:00
Sarah Hoffmann
0005dc0a0f
configurable file logging
...
Respect CONST_Log_File setting and add two new configuration
variables CONST_Log_File_SearchLog and CONST_Log_File_ReverseLog
for the log file names.
2012-03-04 12:50:45 +01:00
Sarah Hoffmann
d7e91469b7
add script to list broken polygons
2012-03-04 10:54:07 +01:00
Sarah Hoffmann
88b07b8fc2
creation of special phrases for country codes (forwardported from gazeteer)
2012-02-26 20:32:40 +00:00
Sarah Hoffmann
01f4723b7b
update classtype tables for special phrases along with the places
2012-02-19 10:33:21 +00:00
Sarah Hoffmann
c186a4ead0
extend scripts for Tiger 2011 data
2012-02-17 20:34:28 +00:00
Sarah Hoffmann
5d10d538a5
hack around yes quotes in wiki and add a simple sanity check against wiki accidents
2012-02-13 22:37:03 +00:00
Sarah Hoffmann
6f9d3a9d80
return a marginally better error message when query string is not in UTF-8,
...
force UTF-8 in search formular
2012-02-12 12:01:24 +00:00
Sarah Hoffmann
b07185c934
move place=isolated_dwelling up to the same rank as place=locality
2012-02-12 10:12:51 +00:00
Sarah Hoffmann
e081983bcd
enable exact search of GB postcodes in aux postcode data,
...
partial search still disabled due to performance problems
2012-02-11 09:19:42 +00:00