-
-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add more placetypes to download #280
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, but we want to pin to a particular version of pelias-model, right?
@@ -31,12 +31,15 @@ Currently, the supported hierarchy types are: | |||
- county | |||
- dependency | |||
- disputed | |||
- [empire](https://www.youtube.com/watch?v=-bzWSJG93P8) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lol
package.json
Outdated
@@ -41,7 +41,7 @@ | |||
"pelias-config": "2.12.0", | |||
"pelias-dbclient": "2.2.2", | |||
"pelias-logger": "0.2.0", | |||
"pelias-model": "5.0.1", | |||
"pelias-model": "pelias/model", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
whats this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh you're probably waiting for this to be merged, right? pelias/model#75
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct, I'm stalling on merging that for a bit as I worked out how this effects the whole ecosystem.
23be0c5
to
06573ea
Compare
06573ea
to
0f9ea52
Compare
Add
empire
,ocean
, andmarinearea
to download. Also synthesizes a hierarchy from the id and placetype when no hierarchies are in the source data. This is useful for top-level placetypes like oceans that have no hierarchies. Without this, the ES document would not haveocean
,ocean_id
, andocean_a
with is inconsistent with lower level placetypes like neighbourhoods where the hierarchy ensures thatneighbourhhood
,neighbourhood_id
, andneighbourhood_a
are in the ES documents.