Sarah Hoffmann
96d2a331a1
install export script in build directory
2018-06-27 21:26:50 +02:00
gemo1011
073221d321
changed export.php to work with current master
2018-06-27 14:17:08 +02:00
Sarah Hoffmann
dfb9579a73
initial version of an export script
...
So far supports type selection down to street level, restriction to
country or an OSM place and postcode printing. Output is standard CSV.
2018-06-27 14:11:14 +02:00
Sarah Hoffmann
26bc83c984
Merge pull request #1069 from woodpeck/patch-2
...
limit default threads to 15
2018-06-21 22:16:24 +02:00
Frederik Ramm
8139a079f8
limit default threads to 15
...
When no explicit number of threads is given, don't simply use getProcessorCount()-1, but limit to max. 15
2018-06-20 14:17:07 +02:00
Sarah Hoffmann
0d341c256b
Merge pull request #1062 from mtmail/display-viewbox-on-map
...
Display viewbox on map
2018-06-14 23:16:05 +02:00
Marc Tobias Metten
5a17bfc9c9
display viewbox on map
2018-06-14 02:19:19 +02:00
Marc Tobias Metten
1d981b3171
update leaflet.js 1.0 => 1.3
2018-06-14 02:18:00 +02:00
Sarah Hoffmann
743ec43460
nearest place search should match any of given tokens not all
...
When multiple isin tokens are given, then these are duplicates
and it is enough that any one of them is found in the
name_vector.
Fixes #1056 .
2018-06-14 00:11:19 +02:00
Sarah Hoffmann
87ee3a6f58
Merge pull request #1053 from mtmail/update-tiger-install-instructions
...
Update tiger install instructions. Mirror no longer working
2018-06-12 22:54:29 +02:00
marc tobias
a376608344
Update tiger install instructions. Mirror no longer working
2018-05-29 17:42:58 +02:00
Sarah Hoffmann
1d0da944a6
document polygon_threashold parameter
...
Fixes #1041 .
2018-05-15 23:30:58 +02:00
Sarah Hoffmann
d0880694eb
Merge pull request #1043 from lonvia/token-as-a-class
...
Token as a class
2018-05-15 20:21:32 +02:00
Sarah Hoffmann
1f689bdaae
document tokens
2018-05-14 23:23:38 +02:00
Sarah Hoffmann
6a0361d0c6
add documentation for TokenList
2018-05-14 23:17:54 +02:00
Sarah Hoffmann
f29c7bf910
introduce classes for token list and token types
2018-05-14 23:04:15 +02:00
Sarah Hoffmann
2cc4c73b64
Merge pull request #1038 from mtmail/phpcs-array-key-alignment
...
add PHPCS Squiz.Arrays.ArrayDeclaration.KeyNotAligned rule
2018-05-08 09:04:03 +02:00
Marc Tobias Metten
8841a328c8
add PHPCS Squiz.Arrays.ArrayDeclaration.KeyNotAligned rule
2018-05-08 00:37:41 +02:00
Sarah Hoffmann
c555b60b36
narrow down search by house number when postcode is given
...
Fixes #1034 .
2018-05-07 21:34:11 +02:00
Sarah Hoffmann
b30e2ab5dc
Merge pull request #1033 from lonvia/remove-word-frequency-scores
...
Replace word frequency hash
2018-05-07 20:59:20 +02:00
Sarah Hoffmann
115792d1db
replace word frequency hash
...
The word frequency hash was only used to determine if the
name of a SearchDescription is rare. Do this already when
building the SearchDescription (when the word frequency
is still available) and get gid of the extra hash.
2018-05-06 22:35:31 +02:00
mtmail
7075a5828e
add JSON format to /status endpoint ( #1013 )
...
add JSON format to /status endpoint
2018-05-04 23:37:48 +02:00
Sarah Hoffmann
bd04ce62e0
Merge pull request #1032 from mtmail/tests-for-debughtml
...
PHP unit tests for DebugHtml
2018-05-04 21:24:08 +02:00
Sarah Hoffmann
3bb6ecdc3b
Merge pull request #1029 from lonvia/streamline-sql
...
streamline SQL for parenting rank 30 places
2018-05-04 21:17:09 +02:00
Marc Tobias Metten
a885e7309a
PHP unit tests for DebugHtml
2018-05-03 22:19:19 +02:00
Sarah Hoffmann
6706a23fb5
streamline SQL for parenting rank 30 places
...
- avoid select all
- prefer direct select into
- use early loop exit when possible
2018-05-01 15:44:18 +02:00
Sarah Hoffmann
c7faab4d7c
adapt reverse index to changed reverse query
...
Thanks to @gemo1011.
2018-05-01 15:29:39 +02:00
Sarah Hoffmann
080ba00956
Merge pull request #1024 from lonvia/reduce-address-search-terms
...
Reduce address search terms
2018-04-26 22:28:53 +02:00
Sarah Hoffmann
2613ebfa01
Merge pull request #977 from lonvia/fix-byteswap-check
...
clean up byte order detection
2018-04-18 21:35:32 +02:00
Sarah Hoffmann
53c526c01d
remove search_name_country table
...
The table is no longer used, country names are handled
directly via the word table.
2018-04-16 20:47:45 +02:00
Sarah Hoffmann
dc371618ba
remove now unused getNearestNamedRoadFeature() function
2018-04-16 20:34:28 +02:00
Sarah Hoffmann
59288417f0
remove debug code
2018-04-16 20:29:30 +02:00
Sarah Hoffmann
1dd401b570
remove use of is_in terms for address computation
...
The code has been dead for a long time because all is_in
terms have been added to the nameaddress_vector so
that the IF condition would never hit.
2018-04-16 20:27:16 +02:00
Sarah Hoffmann
ee194ab369
remove special search for Tiger postcodes
...
Postcodes should no longer appear in the address search terms.
2018-04-16 20:25:19 +02:00
Sarah Hoffmann
b8113abd93
fix variable name
2018-04-16 20:16:11 +02:00
Sarah Hoffmann
5182da9f45
add tests for address tag parsing for search name
2018-04-15 22:52:42 +02:00
Sarah Hoffmann
14c25717ab
restrict addr:* tags that are used for search term
...
Fixes #1001 .
2018-04-15 22:17:20 +02:00
mtmail
3087ac1145
PHP code style: enforce long array initialisation ( #1015 )
2018-04-13 13:18:29 +02:00
mtmail
cdbde5b88d
get rid of Python psycopg2 install warning ( #1014 )
2018-04-13 12:28:12 +02:00
marc tobias
7a1ee99345
return centroid on geojson format
2018-04-12 22:02:24 +02:00
marc tobias
7a31a3d106
remove rank_search_label field
2018-04-12 22:02:24 +02:00
marc tobias
fe3dba3fd7
use RFC3339 for human readable date
2018-04-12 22:02:24 +02:00
marc tobias
31c7f25541
rename parentof to hierarchy and other lonvia Mar/29 PR feedback
2018-04-12 22:02:24 +02:00
Marc Tobias Metten
45aef06d00
localname field is required by nominatim-ui
2018-04-12 22:01:10 +02:00
Marc Tobias Metten
0eb71cdce8
only return polygon if &polygon_geojson=1 is set
2018-04-12 22:01:10 +02:00
marc tobias
45bc511955
variable naming after lonvia PR feedback
2018-04-12 22:01:10 +02:00
marc tobias
dedf56b5f8
spacing changes after lonvia PR feedback
2018-04-12 22:01:10 +02:00
Marc Tobias Metten
1e28f2478c
details support json output
2018-04-12 22:01:10 +02:00
mtmail
3cdbcbff8f
get apt-get php-db package running on travis-ci ( #973 )
...
travis: /usr/bin/env php whenever calling PHP scripts to deal with phpenv
2018-04-12 00:54:59 +02:00
Sarah Hoffmann
9a3bc9cc1e
Merge pull request #1010 from lonvia/ignore-unicode-format-characters
...
Ignore Unicode format characters for normalization
2018-04-10 23:48:58 +02:00