Diana Shkolnikov
|
1d8db6e5d1
|
Change type back to layer... oooops
|
9 years ago |
Diana Shkolnikov
|
1b4b401a66
|
More property renaming/mapping
* Rename `layer` to `type` and `source`
* Rename `address` block and merge properties to main `geocoding` namespace
|
9 years ago |
Diana Shkolnikov
|
5647d0d19a
|
Add middleware for renaming placename properties to match WOF
|
9 years ago |
Diana Shkolnikov
|
743d8efa54
|
Remove proxyquire from adminField test
Add comments and refactor a bit more for clarity in query/search.js
|
9 years ago |
Diana Shkolnikov
|
ab436d5dfb
|
Search query builder not checking all available admin values
Fixes #187
|
9 years ago |
Harish Krishna
|
fae9aae3d3
|
moving the logic for each of the three parsed addresses out into their own function
|
9 years ago |
Harish Krishna
|
b361d4ee69
|
removing landmarks (was an experiment - has got nothing to do with address parsing)
|
9 years ago |
Harish Krishna
|
495c3251a4
|
moving all query parsing logic into its own helper. Tests to come
|
9 years ago |
Harish Krishna
|
f78f49d857
|
moving sort logic.. popularity then population first!
|
9 years ago |
Harish Krishna
|
6011e4ee2b
|
weighing admin2 equally with local_admin, locality and neighborhood.
|
9 years ago |
Harish Krishna
|
e5f783567f
|
remove all things that involved suggester including query mixer
keeping the suggest sanitizer for suggest/nearby wherein lat/lon are required
|
9 years ago |
Harish Krishna
|
5025b66a91
|
adding admin_weights instead of just boosting admin0
|
9 years ago |
Harish Krishna
|
c08a5919d4
|
adding landmark to the list
|
9 years ago |
Diana Shkolnikov
|
39e3672271
|
Fix property check
|
10 years ago |
Peter Johnson
|
ee24214aae
|
refactor for clarity
|
10 years ago |
Severyn Kozak
|
f1db1dc385
|
Remove unnecessary category weights.
helper/category_weights.js
-Address @missinglink's comment:
https://github.com/pelias/api/pull/106#issuecomment-99401791
-Remove category weights with default values, since they're
unnecessary.
|
10 years ago |
Peter Johnson
|
ce96e1274a
|
try/catch extent()
|
10 years ago |
Diana Shkolnikov
|
ed0b5113d5
|
change for loop for foreach
|
10 years ago |
Diana Shkolnikov
|
a68c7fae53
|
Add categories and address properties to result doc
|
10 years ago |
Severyn Kozak
|
b70ebb1d95
|
helper/category_weights.js: add a documentation comment.
|
10 years ago |
Severyn Kozak
|
da61a713be
|
Increase weights for airports.
helper/category_weights.js
-This should now make a record like "Newark Airport" appear
above, say, "Newark Airport Station".
|
10 years ago |
Harish Krishna
|
14c718bf1c
|
passing in an object (req.clean) instead of a boolean. Plus updated test
|
10 years ago |
Harish Krishna
|
aae256c93f
|
category scoring - weights are all hardcoded to 10 currently - requires to be tweaked
|
10 years ago |
Harish Krishna
|
c78c8e2dbe
|
only true or 1 is valid
|
10 years ago |
Harish Krishna
|
c99c5f712a
|
adding a parameter called details (defaults to false for all endpoint except reverse) + fixing tests
|
10 years ago |
Harish Krishna
|
5094ecb25e
|
adding 'locality', 'local_admin' to the list of layers (part of admin alias) plus tests
|
10 years ago |
Peter Johnson
|
ff757decb4
|
deprecate 'type' property, see PR notes
|
10 years ago |
Harish Krishna
|
827a93be11
|
Revert "adding geoname to coarse [experimental]"
This reverts commit 2424b0c9e2 .
|
10 years ago |
Harish Krishna
|
2424b0c9e2
|
adding geoname to coarse [experimental]
|
10 years ago |
Harish Krishna
|
a67f640acb
|
adding address type to layers by default
|
10 years ago |
Harish Krishna
|
103ed5f006
|
using alias layer names in queryMixer and expanding them in helper/layers.js (keeping things DRY)
|
10 years ago |
Harish Krishna
|
a449efb5c3
|
adjusting precision for fuzzy matches
|
10 years ago |
Harish Krishna
|
ca6045ac8e
|
adding variable precision levels for a comprehensive search radius
|
10 years ago |
Harish Krishna
|
ec9d2245ff
|
coarse geocoder endpoint: using admin0, admin1, admin2 and neighborhood layers/datasets only
|
10 years ago |
Harish Krishna
|
9afed3caef
|
adding query mixer for suggest and suggest/nearby
|
10 years ago |
Harish Krishna
|
2b2414d879
|
using multiple suggesters but one query
|
10 years ago |
Harish Krishna
|
69a13e9105
|
fixing all the js lint related issues (lintified)
|
10 years ago |
Peter Johnson
|
cb63791669
|
update output schema for GBR
|
10 years ago |
Peter Johnson
|
46c0af83f3
|
formatting
|
10 years ago |
Peter Johnson
|
109758b25e
|
add geojson bbox
|
10 years ago |
Peter Johnson
|
6efa0aa510
|
expose id/type/layer
|
10 years ago |
Peter Johnson
|
27e2c4e5b8
|
migrate outputGenerator from pelias/suggester-pipeline
|
10 years ago |
Peter Johnson
|
fcd60463cc
|
remove geojsonify.suggest
|
10 years ago |
Peter Johnson
|
c9b1718829
|
display all admin fields
|
10 years ago |
Peter Johnson
|
d52c6077a9
|
add 'text' property to /search and /reverse
|
10 years ago |
Peter Johnson
|
17134105d5
|
geojsonify /search and /reverse FTW
|
10 years ago |
Peter Johnson
|
26a5a7590b
|
refactor geojsonify
|
10 years ago |