pelias-deprecated / admin-lookup

A fast, local, streaming Quattroshapes administrative hierarchy lookup.
1 stars 0 forks source link

populate models with admin popularity/population metadata #10

Closed sevko closed 9 years ago

sevko commented 9 years ago

Extract population/popularity values from Quattro polys and inject them into inbound Documents coming through .stream() using .setPopulation() and .setPopularity(). Will facilitate results boosting for every record passing through the admin-lookup.

Implements #5 . Fixes pelias/pelias#51

sevko commented 9 years ago

Needs to be tested in dev imports before getting merged.

hkrishna commented 9 years ago

@sevko can you resolve conflicts and make this PR merge-able again? :)

hkrishna commented 9 years ago

+1