Julian Simioni
|
e157749de3
|
Use _.contains instead of .indexOf
|
9 years ago |
Julian Simioni
|
7b9d61c5ec
|
Use lodash intersection method
|
9 years ago |
Julian Simioni
|
2811569bcd
|
Switch to source:layer:id ids format in /place
|
9 years ago |
Julian Simioni
|
d4fff26574
|
Derive type, source, and layer list instead of hardcoding
|
9 years ago |
Julian Simioni
|
d11d185429
|
Fix missing space in error message
|
9 years ago |
Julian Simioni
|
da1314eeff
|
Add mapping function to get type from source and layer
|
9 years ago |
Julian Simioni
|
2505e92a62
|
Expect an array of types from _ids sanitiser
This doesn't have any effect by itself but allows for the 3-part gid
sanitiser to possibly return multiple types (i.e. in the case of
osm:venue:1000)
|
9 years ago |
Julian Simioni
|
aabca1569c
|
Fix old reference to /doc endpoint
|
9 years ago |
Julian Simioni
|
b2f3b54f66
|
Leave only geonames specific mapping in gejsonify helper
|
9 years ago |
Julian Simioni
|
fa44effdac
|
Add geoname type to most layers
The Geonames dataset includes lots of different kinds of places, so add
them to the mapping.
|
9 years ago |
Julian Simioni
|
882aad4916
|
Extract code to sanitize single id to separate function
|
9 years ago |
Julian Simioni
|
8b1037d7c8
|
Separate real layers and alias layers into separate objects
|
9 years ago |
Julian Simioni
|
68c9661c70
|
Remove all mappings other than helper/type_mapping
|
9 years ago |
Julian Simioni
|
4df0f98b14
|
Add type list, and raw mappings to/from source/layer and type
|
9 years ago |
Julian Simioni
|
dc623d5af7
|
Send 3 part gid (source, layer, id) in GeoJSON responses
|
9 years ago |
Stephen Hess
|
56d8600218
|
modified warning message for brevity
|
9 years ago |
Stephen Hess
|
5da4e4b36b
|
removed unused variable
|
9 years ago |
Stephen Hess
|
0f6d08c0ec
|
set boundary.circle.radius to default if caller did not supply it
|
9 years ago |
Stephen Hess
|
0595a29052
|
renamed parameters for readability
|
9 years ago |
Stephen Hess
|
9fdddd3834
|
unrolled not-not conditional to positive conditional
|
9 years ago |
Stephen K Hess
|
f1a8952066
|
Merge pull request #289 from pelias/272-error-on-duplicate-parameter-names
272 error on duplicate parameter names
|
9 years ago |
Diana Shkolnikov
|
0b182e20ed
|
Merge pull request #293 from pelias/fix-confidence
Fix lost confidence score
|
9 years ago |
Stephen Hess
|
947797f41e
|
added warning if any of boundary.circle.lat/lon/radius are supplied + tests
|
9 years ago |
Julian Simioni
|
ebb3f33b2d
|
Remove unused test file
|
9 years ago |
Peter Johnson
|
80f419846d
|
admin boost for sqrt(popularity), autocomplete focus not restricted to phrase matches
|
9 years ago |
Diana Shkolnikov
|
2b22d611bd
|
Fix lost confidence score
|
9 years ago |
Stephen Hess
|
e16e2bbb4e
|
fixed comment
|
9 years ago |
Diana Shkolnikov
|
d97400bf96
|
Merge branch 'master' of github.com:pelias/api into 272-error-on-duplicate-parameter-names
|
9 years ago |
Diana Shkolnikov
|
a664ed999a
|
Merge branch 'master' of github.com:pelias/api into remove-regions-check
|
9 years ago |
Diana Shkolnikov
|
553f9780c5
|
Remove admin matching when address is not parsed
|
9 years ago |
Diana Shkolnikov
|
cbca5452d0
|
Merge pull request #288 from pelias/dianashk-patch-1
Lock down the pelias-query version
|
9 years ago |
Diana Shkolnikov
|
3476831b6b
|
Lock down the pelias-query version
Allowing for even the smallest changes to pelias-query is problematic.
|
9 years ago |
Stephen Hess
|
a21a4476d1
|
added ciao tests
|
9 years ago |
Stephen Hess
|
e90f70ce3d
|
added sanitizer that verifies that all parameters are single scalar values
|
9 years ago |
Julian Simioni
|
3809ae55cd
|
Merge branch 'production'
|
9 years ago |
Diana Shkolnikov
|
d8f983c981
|
Merge pull request #282 from pelias/spec_conformance
more conformance
|
9 years ago |
Peter Johnson
|
348d2e70e2
|
more conformance
|
9 years ago |
Diana Shkolnikov
|
55afbb7558
|
Merge pull request #274 from pelias/243-reverse-confidence-scores
243 reverse confidence scores
|
9 years ago |
Julian Simioni
|
9ce44c4cfe
|
Merge branch '259-rename-place-id-to-ids'
|
9 years ago |
Julian Simioni
|
72e3ea1381
|
Use check-types.contains to express intent a bit better
|
9 years ago |
Julian Simioni
|
16450087ee
|
Use simpler, clearer error on invalid ids length
|
9 years ago |
Julian Simioni
|
edaf175aa7
|
Provide better, more consistent, errors on invalid ids
All error messages for invalid id formats now use a common format that
explains the nature of the error a bit better.
|
9 years ago |
Julian Simioni
|
73b289e9e5
|
Consider tests refactored :)
|
9 years ago |
Julian Simioni
|
3101aad399
|
Simplify ids sanitizing logic
|
9 years ago |
Julian Simioni
|
9d21832874
|
Reformat test for clarity
|
9 years ago |
Julian Simioni
|
8897c71664
|
Remove complicated error value test
It's better to just specify a few cases if needed
|
9 years ago |
Julian Simioni
|
18de9a6766
|
Replace giant switch-statement test with multiple tests
|
9 years ago |
Julian Simioni
|
03387722fb
|
Move _ids sanitiser tests to separate file
|
9 years ago |
Julian Simioni
|
5721841fb3
|
Clarify name and error message in ids test
|
9 years ago |
Julian Simioni
|
1b6c61c92e
|
Leave clean.ids undefined on error
|
9 years ago |