Skip to content
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

Update population_rank #59

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/docs/properties/wof.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<!-- https://github.com/whosonfirst/whosonfirst-properties/blob/master/properties/wof.md -->
<h1 id="wof">wof</h1> <p><code>wof</code> stands for Who's On First</p> <h2 id="abbreviation">abbreviation</h2> <p>A two-letter country code from ISO 3166.</p> <h2 id="belongsto">belongsto</h2> <p>The (unique) set of all ancestors, as an array (list) of WOF IDs.</p> <h2 id="breaches">breaches</h2> <p>Records of the same placetype that intersect the current record, as an array (list) of WOF IDs.</p> <h2 id="concordances">concordances</h2> <p>A hash containing identifiers from other data sources. See also: <a href="https://github.com/whosonfirst/tools-other-peoples-concordances">other people's concordances</a></p> <h2 id="concordances_alt">concordances_alt</h2> <p>A dictionary of lists, used if a record has more than one identifier for a single data source. Contains identifiers not present in the <code>wof:concordances</code> property.</p> <h2 id="controlled">controlled</h2> <p>A list of Who's On First properties that should be assumed to have been edited by an actual human and should not be updated by automated processes. For example:</p> <pre><code> "wof:controlled":[ "wof:hierachy", "wof:parent_id" ] </code></pre> <h2 id="coterminous">coterminous</h2> <p>Links two or more records with overlapping or identical geometries that serve separate functions, but are essentially the same "place" - see <a href="https://whosonfirst.mapzen.com/spelunker/id/85686515/#9/19.3228/-99.1530">Cuidad de México</a>. Think "city-state".</p> <h2 id="country">country</h2> <p>A two-letter country code from ISO 3166.</p> <h2 id="created">created</h2> <p>An auto-generated, non-editable Unix epoch timestamp integer.</p> <h2 id="geomhash">geomhash</h2> <p>An auto-generated, non-editable MD5 string of the geometry JSON.</p> <h2 id="hierarchy">hierarchy</h2> <p>A list of hashes, where each object is the list of ancestors.</p> <h2 id="id">id</h2> <p>The record's unique numeric integer identifier that are typically derived from <a href="https://www.brooklynintegers.com">Brooklyn Integers</a>.</p> <h2 id="lang">lang</h2> <p>An <a href="http://www.i18nguy.com/unicode/language-identifiers.html">ISO-639-3</a> language identifiers. These represent the common, or preferred, languages spoken in the location of the corresponding WOF record.</p> <p><strong>IMPORTANT: THIS PROPERTY HAS BEEN DEPRECATED.</strong> It will not be removed in the short-term but nor will it be updated to added to any new or existing records.</p> <h2 id="lang_x_official">lang_x_official</h2> <p>One or more <a href="http://www.i18nguy.com/unicode/language-identifiers.html">ISO-639-3</a> language identifiers. These represent the officially recognized languages of the location of the corresponding WOF record.</p> <h2 id="lang_x_spoken">lang_x_spoken</h2> <p>One or more <a href="http://www.i18nguy.com/unicode/language-identifiers.html">ISO-639-3</a> language identifiers. These represent the languages, inclusive of official languages, spoken in the location of the corresponding WOF record.</p> <h2 id="lastmodified">lastmodified</h2> <p>A Unix epoch timestamp integer.</p> <h2 id="name">name</h2> <p>An English UTF-7 transliterated representation of the name. See also: <a href="https://github.com/whosonfirst/whosonfirst-names">whosonfirst-names</a></p> <h2 id="parent_id">parent_id</h2> <p>An integer WOF ID of the direct parent record. If a record has more than one parent, the following values should be used:</p> <ul> <li><strong>-1</strong> (unknown parent, record needs review)</li> <li><strong>-2</strong> (shrug, this feature is complicated)</li> <li><strong>-3</strong> (contested, but not disputed.. used for placetypes below the locality level)</li> <li><strong>-4</strong> (multiple "legal" parents.. used for placetypes at the locality level or above)</li> </ul> <h2 id="population">population</h2> <p>An integer value to represent the most current, known population of a place. (related: <code>src:population</code>)</p> <h2 id="population_rank">population_rank</h2> <p>An aggregated integer, 0 to 14, where the values represent the following ranges:</p> <pre><code>14: 10m+ 13: 5m to 10m 12: 1m to 5m 11: 500k to 1m 10: 200k to 500k 9: 100k to 200k 8: 50k to 100k 7: 20k to 50k 6: 10k to 20k 5: 5k to 10k 4: 2k to 5k 3: 1k to 2k 2: 200 to 1k 1: Less than 200 0: locale (no population) / places that only are visible at 50k scale or larger (but not neighbourhoods) </code></pre> <h2 id="placetype">placetype</h2> <p>A string <a href="https://github.com/whosonfirst/whosonfirst-placetypes">placetype</a>.</p> <h2 id="placetype_alt">placetype_alt</h2> <p>A list of string <a href="https://github.com/whosonfirst/whosonfirst-placetypes">placetypes</a> denoting alternate representations of a place. For details please consult <a href="https://github.com/whosonfirst-data/whosonfirst-data/issues/538">whosonfirst-data issue #538</a>.</p> <h2 id="placetype_local">placetype_local</h2> <p>What locals consider the placetype to be (string value).</p> <h2 id="statistical_gore">statistical_gore</h2> <p>An optional boolean value that, when true, represents an “area” of unincorporated status without self-governance.</p> <h2 id="superseded_by">superseded_by</h2> <p>An array (a list) of WOF IDs that have superseded the WOF record.</p> <h2 id="supersedes">supersedes</h2> <p>An array (a list) of WOF IDs that the record supersedes.</p> <h2 id="tags">tags</h2> <p>An array (a list) of tags.</p>
<h1 id="wof">wof</h1> <p><code>wof</code> stands for Who's On First</p> <h2 id="abbreviation">abbreviation</h2> <p>A two-letter country code from ISO 3166.</p> <h2 id="belongsto">belongsto</h2> <p>The (unique) set of all ancestors, as an array (list) of WOF IDs.</p> <h2 id="breaches">breaches</h2> <p>Records of the same placetype that intersect the current record, as an array (list) of WOF IDs.</p> <h2 id="concordances">concordances</h2> <p>A hash containing identifiers from other data sources. See also: <a href="https://github.com/whosonfirst/tools-other-peoples-concordances">other people's concordances</a></p> <h2 id="concordances_alt">concordances_alt</h2> <p>A dictionary of lists, used if a record has more than one identifier for a single data source. Contains identifiers not present in the <code>wof:concordances</code> property.</p> <h2 id="controlled">controlled</h2> <p>A list of Who's On First properties that should be assumed to have been edited by an actual human and should not be updated by automated processes. For example:</p> <pre><code> "wof:controlled":[ "wof:hierachy", "wof:parent_id" ] </code></pre> <h2 id="coterminous">coterminous</h2> <p>Links two or more records with overlapping or identical geometries that serve separate functions, but are essentially the same "place" - see <a href="https://whosonfirst.mapzen.com/spelunker/id/85686515/#9/19.3228/-99.1530">Cuidad de México</a>. Think "city-state".</p> <h2 id="country">country</h2> <p>A two-letter country code from ISO 3166.</p> <h2 id="created">created</h2> <p>An auto-generated, non-editable Unix epoch timestamp integer.</p> <h2 id="geomhash">geomhash</h2> <p>An auto-generated, non-editable MD5 string of the geometry JSON.</p> <h2 id="hierarchy">hierarchy</h2> <p>A list of hashes, where each object is the list of ancestors.</p> <h2 id="id">id</h2> <p>The record's unique numeric integer identifier that are typically derived from <a href="https://www.brooklynintegers.com">Brooklyn Integers</a>.</p> <h2 id="lang">lang</h2> <p>An <a href="http://www.i18nguy.com/unicode/language-identifiers.html">ISO-639-3</a> language identifiers. These represent the common, or preferred, languages spoken in the location of the corresponding WOF record.</p> <p><strong>IMPORTANT: THIS PROPERTY HAS BEEN DEPRECATED.</strong> It will not be removed in the short-term but nor will it be updated to added to any new or existing records.</p> <h2 id="lang_x_official">lang_x_official</h2> <p>One or more <a href="http://www.i18nguy.com/unicode/language-identifiers.html">ISO-639-3</a> language identifiers. These represent the officially recognized languages of the location of the corresponding WOF record.</p> <h2 id="lang_x_spoken">lang_x_spoken</h2> <p>One or more <a href="http://www.i18nguy.com/unicode/language-identifiers.html">ISO-639-3</a> language identifiers. These represent the languages, inclusive of official languages, spoken in the location of the corresponding WOF record.</p> <h2 id="lastmodified">lastmodified</h2> <p>A Unix epoch timestamp integer.</p> <h2 id="name">name</h2> <p>An English UTF-7 transliterated representation of the name. See also: <a href="https://github.com/whosonfirst/whosonfirst-names">whosonfirst-names</a></p> <h2 id="parent_id">parent_id</h2> <p>An integer WOF ID of the direct parent record. If a record has more than one parent, the following values should be used:</p> <ul> <li><strong>-1</strong> (unknown parent, record needs review)</li> <li><strong>-2</strong> (shrug, this feature is complicated)</li> <li><strong>-3</strong> (contested, but not disputed.. used for placetypes below the locality level)</li> <li><strong>-4</strong> (multiple "legal" parents.. used for placetypes at the locality level or above)</li> </ul> <h2 id="population">population</h2> <p>An integer value to represent the most current, known population of a place. (related: <code>src:population</code>)</p> <h2 id="population_rank">population_rank</h2> <p>An aggregated integer, 0 to 18, where the values represent the following ranges:</p> <pre><code>18: Over 1b 17: 100m to 1b 16: 50m to 100m 15: 20m to 50m 14: 10m to 20m 13: 5m to 10m 12: 1m to 5m 11: 500k to 1m 10: 200k to 500k 9: 100k to 200k 8: 50k to 100k 7: 20k to 50k 6: 10k to 20k 5: 5k to 10k 4: 2k to 5k 3: 1k to 2k 2: 200 to 1k 1: Less than 200 0: locale (no population) / places that only are visible at 50k scale or larger (but not neighbourhoods) </code></pre> <h2 id="placetype">placetype</h2> <p>A string <a href="https://github.com/whosonfirst/whosonfirst-placetypes">placetype</a>.</p> <h2 id="placetype_alt">placetype_alt</h2> <p>A list of string <a href="https://github.com/whosonfirst/whosonfirst-placetypes">placetypes</a> denoting alternate representations of a place. For details please consult <a href="https://github.com/whosonfirst-data/whosonfirst-data/issues/538">whosonfirst-data issue #538</a>.</p> <h2 id="placetype_local">placetype_local</h2> <p>What locals consider the placetype to be (string value).</p> <h2 id="statistical_gore">statistical_gore</h2> <p>An optional boolean value that, when true, represents an “area” of unincorporated status without self-governance.</p> <h2 id="superseded_by">superseded_by</h2> <p>An array (a list) of WOF IDs that have superseded the WOF record.</p> <h2 id="supersedes">supersedes</h2> <p>An array (a list) of WOF IDs that the record supersedes.</p> <h2 id="tags">tags</h2> <p>An array (a list) of tags.</p>