-
Notifications
You must be signed in to change notification settings - Fork 9
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
Expose wof:population
property
#240
Comments
@trescube - we have a sample for this work in the above commits, it'll take a bit more work to iterate over all other features and set this new property. Is there a location that you'd like us to start beginning this |
I heard rumors of New York and it's boroughs? |
@nvkelso that was an example I just came up with... but we could start there. |
Sorry, lost track of this, but NYC boroughs would be great! |
We'd add:
Might also be nice to include the approximate year the population was from, and if from census, estimate? |
hey, I'm trying to extract population info from WOF and the function currently looks like this: function getPopulation( wof ) {
if( wof['mz:population'] ){ return wof['mz:population']; }
else if( wof['gn:population'] ){ return wof['gn:population']; }
else if( wof['zs:pop10'] ){ return wof['zs:pop10']; }
else if( wof['qs:pop'] ){ return wof['qs:pop']; }
else if( wof['wk:population'] ){ return wof['wk:population']; }
} it sounds like I will also need to add |
oh wait, is |
we need taginfo for WOF! :) |
here's some stats on the availability of population fields across the admin entities in WOF:
|
Thanks for the nudge, this is on our "next" list for the quarter. Population property prioritiesI rank them (top is more important):
Population ranks:
We should promote this to
From very old Natural Earth and Quattroshapes notes... Where the values represent he following ranges:
VisualBasic code for ArcMap Field Calculator advanced area (I know, right!?):
Junk:I think this is just an error and shouldn't be included in logic:
|
👍 very useful, thanks! |
one more thing to add to this ticket is that populations should always be positive integers, I am finding values such as:
|
Good catch. -99 was used in Natural Earth and possibly QS to indicate “no
data”. We’d do that by not setting the property in the GeoJSON.
…On Thu, Apr 20, 2017 at 10:02 AM, Peter Johnson ***@***.***> wrote:
one more thing to add to this ticket is that populations should always be
positive integers, I am finding values such as:
"ne:pop_est":-99,
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#240 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA0EO8S6uZ_vZ9ZA4iPAi_AVkTJoWk6Qks5rx4-6gaJpZM4H9Asv>
.
|
Canada first, rest of world next ;) |
heya, I also noticed that the population counts are sometimes off/old, eg:
looking through https://en.wikipedia.org/wiki/Megacity it looks like the correct counts should be more in the region of |
The counts will be off, because we record the population for the incorporated locality, but the "megacity" population will be for the metropolitan area (which only has a few samples in WOF now). We can setup some relationships between the "central" city/cities of the metropolitan area to help with this. |
wof:population
propertywof:population
property
Blocked on mesoshape imports here: #581. |
wof:population
propertywof:population
property
This is no longer "blocked" - much of this work is being done through |
The Statoids PRs have now been merged, which included many new population properties. @nvkelso - would you like to close this issue or keep it open as an ongoing issue? |
Once this PR is merged, we'll be good to close this issue: #824 |
#824 is closed, closing this issue. |
The Pelias team has been pulling population data from the
gn:population
property and have just realized that we need to pull fromzs:pop10
for presumably neighborhoods. Exposing awof:population
property would be great for an authoritative field and reducing complexity in our logic.Note from @nvkelso, with exact logic described in #240 (comment):
whosonfirst-date
repo.common
properties.wof:population
src:population
wof:population
is present (e.g., if not known then default tounknown
)src:population:date
uuuu
when unknown – most of our current data is unknown dates.wof:population
valuesrc:population:method
census
,estimate
, etcwof:population_rank
wof:population
is present, but...wof:population
, then okay for us to fill this in anyhow manually, which is how many features coming from Quattroshapes got their ranks.Question:
Optional data structure where
wof:population_timeseries
is an array, like:The text was updated successfully, but these errors were encountered: