Alec Vulfson
35e548ef15
Updating list of layers for Geonames
8 years ago
Stephen Hess
2c40827701
added `layer=borough` support for *all 5 boroughs* in data
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
b2accb71e9
Get rid of QS references
9 years ago
Diana Shkolnikov
7aeea99ea7
Remove quattroshapes and admin0/admin1 from layers
9 years ago
Julian Simioni
ef78b2e0fd
Filter source and layer by new fields
...
This is functionally the same code as before, except that it uses the
new source and layer mapping.
9 years ago
Julian Simioni
fef92bd34b
Remove the geoname _type from all layers except venue
...
We can't distinguish between geonames of different layers due to an
ambiguity in our Elasticsearch schema that we unfortunately won't be
able to fix for a few weeks.
So, while it's technically true that there are countries, cities, etc
contained in the geonames dataset, it's still better for now to remove
geonames from these layers. We have good coverage of most coarse layers
from quattroshapes alone, so the impact isn't too bad.
9 years ago
Julian Simioni
7b9d61c5ec
Use lodash intersection method
9 years ago
Julian Simioni
d4fff26574
Derive type, source, and layer list instead of hardcoding
9 years ago
Julian Simioni
da1314eeff
Add mapping function to get type from source and layer
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
8b1037d7c8
Separate real layers and alias layers into separate objects
9 years ago
Julian Simioni
4df0f98b14
Add type list, and raw mappings to/from source/layer and type
9 years ago