Sarah Hoffmann
de45bafc54
force delete from place if there is no corresponding object in placex
...
This might happen for nameless landuse/natural objects that are added to place
during initial import but then dropped when being copied to placex.
If they later receive a name, thus becoming valid, then place_insert should
delete the orphan object in place and reinsert it. If they are large enough,
the place_delete trigger prevents them from being removed. The additional
update fools the delete trigger.
2013-09-19 22:22:03 +02:00
Brian Quinion
65ea0efe68
Remove stray exit from debug
2013-09-19 15:19:31 +01:00
Brian Quinion
120d866e3e
Sanity check on download.geofabrik.de update interval
2013-09-19 12:22:36 +01:00
Sarah Hoffmann
124032c27b
use object properties in loadStructuredAddressElement()
2013-09-17 18:33:44 +02:00
Sarah Hoffmann
008407c2f7
move country to end of structured query
...
Fixes https://trac.openstreetmap.org/ticket/4918
2013-09-17 00:22:08 +02:00
Sarah Hoffmann
c574c933e4
reenable reverse order queries, leave disabled for structured queries
2013-09-16 00:05:26 +02:00
Sarah Hoffmann
77b9edd1e9
allow osm2pgsql cache memory to be set for updates
2013-09-15 23:10:26 +02:00
Sarah Hoffmann
80b4121aca
allow setup without partitions
2013-09-15 22:45:47 +02:00
Brian Quinion
8f2e089908
Fix missed local variable aAddressRankList in conversion
2013-09-13 17:45:23 +01:00
Brian Quinion
44262c1d4c
Limit wordset combination explosion to 120 variants (1x2x3x4x5)
2013-09-13 14:24:16 +01:00
Brian Quinion
a974d25092
fix structured and batch mode. Add constant to disable batch mode by default
2013-09-12 16:16:08 +01:00
Sarah Hoffmann
27e6a24718
use object properties in getDetails()
2013-09-10 20:10:53 +02:00
Brian Quinion
9fd75fd7ce
improve admin type labels
2013-09-09 16:18:40 +01:00
Brian Quinion
a2ba8708cb
add a json output format for hierarchy
2013-09-09 15:55:30 +01:00
Brian Quinion
dab59d59de
replace '_' and ' ' when matching wikipedia article names
2013-09-09 14:10:09 +01:00
Brian Quinion
28a5ef899e
Test code for creating osm breadcrumbs and hierarchy
2013-09-09 14:09:28 +01:00
Brian Quinion
5d147e76fa
only places that are part of the address should be used as a parent
2013-09-09 14:07:33 +01:00
Sarah Hoffmann
8fd7d319b7
Merge branch 'osmosis_error_return' of https://github.com/woodpeck/Nominatim
2013-09-09 13:46:59 +02:00
Sarah Hoffmann
12eb91b2bc
Merge branch 'master' of https://github.com/spin0us/Nominatim
2013-09-09 13:45:41 +02:00
Brian Quinion
d8f9b27c93
make missing osmosis non-fatal for 'all' option - just skip it
2013-09-06 10:58:48 +01:00
Brian Quinion
437a7ce50e
download and merge wikipedia access logs
2013-09-06 10:52:55 +01:00
Brian Quinion
bd26313d55
code for importing values from wikidata
2013-09-06 10:33:53 +01:00
Brian Quinion
62b5849528
script to compare to nominatim instances
2013-09-06 09:47:46 +01:00
Brian Quinion
624e135a83
errors in structured queries
2013-09-06 09:47:46 +01:00
Brian Quinion
6a337f13d0
XML and JSON map 'ploygon' param to AsPoints
2013-09-06 09:47:46 +01:00
Brian Quinion
b3ed566d15
Test for polygon param correctly
2013-09-06 09:47:46 +01:00
Brian Quinion
d6b70c9b73
Fail clean for place lookups for null/invalid place_ids
2013-09-06 09:47:46 +01:00
Brian Quinion
5f941407b3
Allow for reverse geocode returning no results
2013-09-06 09:47:46 +01:00
Brian Quinion
cdd129de70
fix viewbox issues
2013-09-06 09:47:46 +01:00
Brian Quinion
eb793ae26e
Fix for regressions: broken bounded search, error on country codes
2013-09-06 09:47:46 +01:00
Brian Quinion
662af78319
batch mode for json only
2013-09-06 09:47:45 +01:00
Brian Quinion
91d72617e6
Use correct value for html ploygons
2013-09-06 09:47:45 +01:00
Brian Quinion
4429121341
move more code into library
2013-09-06 09:47:45 +01:00
Brian Quinion
54129a6f15
First run at turning search into a library
2013-09-06 09:47:45 +01:00
Brian Quinion
b30fd57733
refector reverse geocoding into its own class
2013-09-06 09:47:45 +01:00
Frederik Ramm
b8d4371395
re-run osmosis also on return codes other than 1
2013-08-30 10:42:21 +02:00
Sarah Hoffmann
973995268d
update osm2pgsql (excluding certain *=yes tags)
2013-08-14 19:54:30 +02:00
Spin0us
85f10f48fd
Update update.php
2013-07-31 07:48:29 +02:00
Sarah Hoffmann
ea761a15b6
more restrictive parsing of lat/lon
...
Require a decimal point in both numbers to avoid cases like
https://trac.openstreetmap.org/ticket/4884
2013-07-07 16:44:37 +02:00
Sarah Hoffmann
fe1e53ef04
add query speed munin plugin
2013-07-07 16:37:43 +02:00
Sarah Hoffmann
9ed49e50a6
remove hard-coded DB name in munin plugins
...
Use PGDATABASE environment variable instead.
2013-07-07 16:36:01 +02:00
Sarah Hoffmann
3ccf466e2f
fix error output
2013-07-04 17:52:25 +02:00
Sarah Hoffmann
d5e9fc4a03
support for partial matching of US ZIP+4 codes
2013-06-19 22:58:46 +02:00
Brian Quinion
1fb5964b0e
Allow linking of ways to points (by name) as well as for relation admin areas
2013-06-18 13:09:30 +01:00
Brian Quinion
5e6fdc467c
Check to see if we can access the website at the configured CONST_Website_BaseURL
2013-06-13 18:07:19 +01:00
Brian Quinion
c5c44f9a07
missed some postcode use cases
2013-06-13 17:19:27 +01:00
Brian Quinion
464fb913a8
Allow for tiger addresses when filtering by rank
2013-06-11 17:28:30 +01:00
Brian Quinion
e26da936b3
recheck the rank limits before dropping out of the search loop - otherwise we can drop out too soon
2013-06-11 17:13:37 +01:00
Brian Quinion
aa8c6e5f13
Try alternative orderings of structured queries that include postal codes
2013-06-11 14:56:50 +01:00
Brian Quinion
5413abfb1e
remove the structuredAddressElement function from search that was moved to lib.php
2013-06-07 16:23:37 +01:00