Skip to content

Bug: DOSM Electoral state data import error - imported but missing from geometry list #7

@samqi

Description

@samqi

Describe the bug
Imports such as Electoral DUN imports appear to be import without issue as CLI appears to parse it, but checking in admin-geometry, we find only a small subset of data was actually imported.

To Reproduce
Steps to reproduce the behavior:

  1. Import data via CLI:
python ../manage.py mapit_import     \
    --country_code    MY      \
    --generation_id   3      \
    --area_type_code  electoral_1    \
    --name_type_code  dun  \
    --name_field code_state_dun \
    --code_field code_dun \
    --code_type code_dun \
    --commit         \
electoral_1_dun.geojson
  1. Enter: 'DOSM Electoral boundary for DUN (State Legislative Assembly)' when prompted Please give a description for area type code electoral_1:

  2. No error message is encountered

  3. One realises that there is some issue when verifying with points.

  1. If generation 3 is active -DUN generation , API does not return any DUN related output.

Expected behavior

Desktop (please complete the following information):

  • OS: Linux
  • Browser: Chromium

Additional context
As data imported into geometry is limited & incomplete, need to delete the data from the geometry page. As mentioned in #6, it may be related to that issue or not, but unconfirmed at this point.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions