-
Notifications
You must be signed in to change notification settings - Fork 1
Description
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.
- Specifically when importing: electoral_1_dun.geojson
To Reproduce
Steps to reproduce the behavior:
- 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
-
Enter: 'DOSM Electoral boundary for DUN (State Legislative Assembly)' when prompted Please give a description for area type code electoral_1:
-
No error message is encountered
-
One realises that there is some issue when verifying with points.
- Example: HTML example for a Subang GPS location [json]
- If generation 3 is active -DUN generation , API does not return any DUN related output.
Expected behavior
- If generation 3 is active -DUN generation , API should return DUN related output.
- Admin-Geometry should have data for electoral_1 for Subang Jaya related
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.