disarm-dev / douma-app

DiSARM app (2018 and beyond)
MIT License
3 stars 1 forks source link

[ext] cleanup Namibia plan #463

Closed onlyjsmith closed 6 years ago

onlyjsmith commented 6 years ago

@onlyjsmith commented on Thu May 31 2018

External feedback source: https://github.com/disarm-platform/user-requests-and-feedback/issues/58 Combine smaller plans

onlyjsmith commented 6 years ago

Links to #464

onlyjsmith commented 6 years ago

@Nicolaidavies worth checking the original ticket for short discussion there.

Nicolaidavies commented 6 years ago

@onlyjsmith

For removing the plans, can we do that together on a two-finger-typing-ssh-session?

When creating the 2018 plan, can we temporarily remove the planning restriction so we can select all the villages in one go?

onlyjsmith commented 6 years ago
targets = __disarm_debug_cache.geodata.villages.features.map(f => {
    return {
        id: f.properties.uID,
        number_of_structures: f.properties.NumStructu,
        assigned_to_team_name: null,
    }
})
db.getCollection('plans').find({personalised_instance_id: 'by_hand', country: 'nam'})
onlyjsmith commented 6 years ago
Nicolaidavies commented 6 years ago

We need to create a new plan from the updated geodata once #464 has been closed.

Nicolaidavies commented 6 years ago

Done together with J.