hotosm / osma-health

HOT Analytics for Health
12 stars 3 forks source link

OSMLint impure data objects due to wrong callback stack #82

Closed geohacker closed 6 years ago

geohacker commented 6 years ago

Just noticed that we are not handling the callbacks correctly and potentially causing impure data objects https://github.com/hotosm/osma-health-workers/blob/master/workers/attribute-completeness.js#L37. The way to resolve this would be run each osmlint calls in a queue and that means making minor changes in OSMLint. I'll get to this today.

Part of the reason why the numbers are off as noticed in #80 is because of this.

cc @kamicut @smit1678