126 Commits (6d58898bae0653ab072559fecb54145a5792c985)

Author SHA1 Message Date
Stephen Hess 34d9893018 removed unused parameter 8 years ago
Stephen Hess beb309ca07 moved assignLabels to fire before geojsonify 8 years ago
Stephen Hess 248b1299c8 added post-processing step to generate labels 8 years ago
Stephen Hess c14a1311f7 extracted labelGenerator to be injectable 8 years ago
Diana Shkolnikov a8e82b018d Refactor deduper and write additional tests 8 years ago
Stephen Hess 29c1255694 added `dependency` fields to output 8 years ago
Alec Vulfson a6ccbf17ce Add provinces to Australian labels 8 years ago
Stephen Hess 1b83247964 exclude `name` for `country` result labels 8 years ago
Diana Shkolnikov cc9c4148bb Refactor geojsonify code and add ability to pass in clean query params 9 years ago
Diana Shkolnikov 269733b70c Add type property to allow proper handling of arrays 9 years ago
Alec Vulfson 2092cf2e15 Shows county in label if there isnt a locality or local admin 9 years ago
Diana Shkolnikov 1435de906d Add source_id property 9 years ago
Julian Simioni 9e12c650d0
Add logging helper module 9 years ago
Stephen Hess bd3b8e7bbe switched to pelias-text-analyzer package since that responsibility has been moved to there 9 years ago
Stephen Hess 9cdfce13c1 fixed extraneous comma labels for results with only a `name` 9 years ago
Stephen Hess 2c40827701 added `layer=borough` support for *all 5 boroughs* in data 9 years ago
Stephen Hess 0076200728 added special case for USA in labels 9 years ago
Stephen Hess c99fa9f0ef added support for `macroregion` 9 years ago
Stephen Hess 8a54dbeef0 switched from `macrocountry` to `macrocounty` 9 years ago
Diana Shkolnikov 05f4374b0a Add more tests without spaces 9 years ago
Diana Shkolnikov c415b96ead Named admin_parts adminParts which caused problems 9 years ago
Stephen Hess caa9745aaa standardized on naming conventions 9 years ago
Stephen Hess f783560224 split tests into logical units 9 years ago
Stephen Hess c5626d6c5e added `localadmin` for USA/GBR/default when `locality` isn't available 9 years ago
Stephen Hess 0870e30366 Refactored the label generation code to be simpler 9 years ago
Julian Simioni 39502df284 Add borough to geojson output and USA.local labels 9 years ago
Diana Shkolnikov 8a15234e56 Fix failing test 9 years ago
Diana Shkolnikov 147c849b58 change admin property names to <place_type>_gid from <place_type>_id 9 years ago
Diana Shkolnikov 3862dd233e change admin property names to <place_type>_gid from <place_type>_id 9 years ago
Diana Shkolnikov 928597e029 Fix admin parts parsing without spaces after delimeters 9 years ago
Diana Shkolnikov 7ebb653c22 Change properties.bounding_box to bbox at top level 9 years ago
Stephen Hess c746bd8d36 added `macroregion` to default and GBR schemas (with tests!) 9 years ago
Stephen Hess 77f396d5cb exposed `macrocounty` and `macroregion` fields in geojsonify 9 years ago
Diana Shkolnikov e17b940136 Compute extent bounding box and expose bounding_box property in results 9 years ago
Diana Shkolnikov af8044ef29 Fix all unit tests 9 years ago
Diana Shkolnikov 3daec67b6b Fix helper unit tests 9 years ago
Diana Shkolnikov e14697fe40 Remove adminFields because it is not needed anymore 9 years ago
Julian Simioni 74d05867cf Update mock Elasticsearch response data 9 years ago
Julian Simioni ef78b2e0fd Filter source and layer by new fields 9 years ago
Julian Simioni cdd00af6bc Build responses with new source and layer fields 9 years ago
Stephen Hess d1dc88cefd added tests for `default` schema 9 years ago
Stephen Hess 0f6059c05a Refactored to use a function for looking up value for a label 9 years ago
Stephen Hess 431fe44f05 converted labelSchema to .js with module.exports 9 years ago
Stephen Hess 08f414b3d5 fixed encoding error that came from master 9 years ago
Stephen Hess f7260c63a0 added tests for USA local and regional fallbacks for label generation 9 years ago
Stephen Hess 5456632cdf Added flag to not include `default.name` in label 9 years ago
Stephen Hess 3e11e6687c added `country_a` to label for all USA results 9 years ago
Stephen Hess 3e8d1bfd9b broke country-specific label tests out to own file for easier testing 9 years ago
Julian Simioni 87f6f32985 Use tape's throws where appropriate 9 years ago
Julian Simioni b5be8dea42 Remove duplicate test 9 years ago