Repository navigation
Open
Labels
area: territoriesTerritory managementTerritory managementhelp wantedExtra attention is neededExtra attention is neededstatus: needs-triageAwaiting initial reviewAwaiting initial reviewtype: featureNew capabilityNew capability
Description
Why
Congregations that keep their territories as areas in another tool can export them, usually as KML or GeoJSON. Without an import, switching to Unitae means redrawing every territory by hand, which takes hours for a congregation with 100 territories.
What we want
A manager brings in a KML or GeoJSON file and gets one territory per area, with its number and name when the file carries them. He sees what will be created and confirms first.
Done when
- A manager with the right to manage territories can import a KML or GeoJSON file of areas.
- Each area becomes a territory with its area (feat(territories): territories drawn as an area on the map #110), and with its number, name and type when the file provides them or the manager picks them.
- A preview shows what will be created, what was skipped and why (not a polygon, outside the congregation's perimeter, overlapping an existing area), before anything is saved.
- Importing the same file twice doesn't create duplicates.
- The file is processed by the app and not kept after the import.
- It's covered by tests with sample files, as described in the testing guide.
Out of scope
- Exporting areas.
- Assignment history from the other tool.
To settle in this issue before coding
- How to match an area to an existing territory on a second import: by number, or by name.
- What to do with a file area that overlaps an existing one, given feat(territories): territories drawn as an area on the map #110 forbids overlaps within a type.
Where to look
- Depends on feat(territories): territories drawn as an area on the map #110: territories with an area.
- Territories and Data transfer: the existing archive import, its preview and conflict handling.
- Prior art for reading a file the user drops in and previewing it: updating a visiting congregation's speaker list from its PDF.
New to the project? Start with CONTRIBUTING.md and the development setup.
Metadata
Metadata
Assignees
Labels
area: territoriesTerritory managementTerritory managementhelp wantedExtra attention is neededExtra attention is neededstatus: needs-triageAwaiting initial reviewAwaiting initial reviewtype: featureNew capabilityNew capability
Type
Projects
- StatusShow more project fieldsWishlist
Activity