57 Commits (experiments)

Author SHA1 Message Date
Stephen Hess d35f40f372 switched `label` to property-to-copy 8 years ago
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 cc9c4148bb Refactor geojsonify code and add ability to pass in clean query params 8 years ago
Diana Shkolnikov 269733b70c Add type property to allow proper handling of arrays 8 years ago
Diana Shkolnikov 1435de906d Add source_id property 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 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 7ebb653c22 Change properties.bounding_box to bbox at top level 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 4219cefd56 Add new parent properties and take the first one in each property if it is an array 9 years ago
Julian Simioni 692b6da17d Use layer instead of _type field to determine layer 9 years ago
Julian Simioni cdd00af6bc Build responses with new source and layer fields 9 years ago
Julian Simioni f4a5dd812b Replace depricated Lodash function contains with includes 9 years ago
Peter Johnson 2b9c3d79aa rename outputGenerator -> labelGenerator 9 years ago
Julian Simioni e157749de3 Use _.contains instead of .indexOf 9 years ago
Julian Simioni d4fff26574 Derive type, source, and layer list instead of hardcoding 9 years ago
Julian Simioni b2f3b54f66 Leave only geonames specific mapping in gejsonify helper 9 years ago
Julian Simioni 68c9661c70 Remove all mappings other than helper/type_mapping 9 years ago
Julian Simioni dc623d5af7 Send 3 part gid (source, layer, id) in GeoJSON responses 9 years ago
Diana Shkolnikov f1fdc2bc26 Remove categories from response json 9 years ago
Julian Simioni 509a6a7401 Remove geocoding block from properties in GeoJSON responses 9 years ago
Peter Johnson a1efb0c6d0 lodash-ify some array functions; remove 'yes' and 'y' from thruthy 9 years ago
Diana Shkolnikov dd78f324ee Compute distance for each result of reverse query 9 years ago
Diana Shkolnikov 536a16ec94 Update `local_admin` to `localadmin` 9 years ago
Diana Shkolnikov 75aa235eb8 Properly map geoname results' `layer` and `source` properties 9 years ago
Diana Shkolnikov 562338635c Confidence score calculation 9 years ago
Diana Shkolnikov 1d8db6e5d1 Change type back to layer... oooops 9 years ago
Diana Shkolnikov 1b4b401a66 More property renaming/mapping 9 years ago
Diana Shkolnikov 5647d0d19a Add middleware for renaming placename properties to match WOF 9 years ago
Diana Shkolnikov 39e3672271 Fix property check 10 years ago
Peter Johnson ee24214aae refactor for clarity 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
Harish Krishna 14c718bf1c passing in an object (req.clean) instead of a boolean. Plus updated test 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
Peter Johnson ff757decb4 deprecate 'type' property, see PR notes 10 years ago
Harish Krishna 69a13e9105 fixing all the js lint related issues (lintified) 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