pelias / sorting

MIT License
2 stars 2 forks source link

Switch locality sorting to `wof:population_rank` #4

Open trescube opened 7 years ago

trescube commented 7 years ago

wof:population_rank for WOF is now available for the vast majority for localities as of https://github.com/whosonfirst-data/whosonfirst-data/pull/891/files. This module currently uses bands based on somewhat arbitrary raw population numbers from wof:population whereas we'd probably be better served to use the 1-15 range from wof:population_rank for sorting localities.

trescube commented 7 years ago

Waiting on https://github.com/whosonfirst-data/whosonfirst-data/pull/824 to be merged. See https://github.com/whosonfirst/whosonfirst-properties/tree/master/properties/wof#population_rank for value definitions.