47 Commits (7ebb653c22fbcad6d7b73e1cc024445621041cf5)

Author SHA1 Message Date
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
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
Peter Johnson 613e7233af flip lat/lon 10 years ago
Peter Johnson 0b45036bce flatten non-IO bound code 10 years ago
Peter Johnson 42ac5f05eb geojsonify suggest API 10 years ago
Peter Johnson 18f4f6b256 refactor/ add more tests 10 years ago
Peter Johnson 4323b0030b progress commit 10 years ago
Peter Johnson f48239a7d4 current dev branch 10 years ago