Stephen Hess
795474f87b
removed unused dependency
7 years ago
Stephen Hess
18e7673dc1
added empire to coarse translation
7 years ago
Stephen Hess
e70a668056
added support for continent, ocean, and marinearea placetypes
...
`coarse` now maps to these as well
7 years ago
Diana Shkolnikov
a52691c61e
feat: search by postalcode
8 years ago
Peter Johnson
53f89dc5c7
enable filtering osm by street layer
8 years ago
Julian Simioni
b0c0a5fe5c
Add venues to Who's on First
8 years ago
Julian Simioni
908100d9c5
Explicitly set coarse alias rather than using WOF layers
...
Who's on First will have more than just coarse data now!
8 years ago
avulfson17
d43a16f780
Add borough as a possible layer for geonames
9 years ago
Alec Vulfson
35e548ef15
Updating list of layers for Geonames
9 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