Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
import_and_export:importing_regions [2021/08/11 15:02] – Gary Willetts | import_and_export:importing_regions [2021/10/08 09:31] (current) – Gary Willetts | ||
---|---|---|---|
Line 1: | Line 1: | ||
{{indexmenu_n> | {{indexmenu_n> | ||
- | + | ====== | |
- | ====== | + | |
Regions are geographic boundaries, currently used in mSupply to help in displaying data on maps. At the moment they are only used in certain customisations but more use of them will follow as development progresses. | Regions are geographic boundaries, currently used in mSupply to help in displaying data on maps. At the moment they are only used in certain customisations but more use of them will follow as development progresses. | ||
Line 18: | Line 17: | ||
===== Doing the import ===== | ===== Doing the import ===== | ||
- | Go to the //File > Import > Import | + | Choose |
- | {{ : | + | {{ : |
- | mSupply uses the **code** field to determine whether the asset being imported is a duplicate; | + | mSupply uses the **Region** field to determine whether the region |
- | * **Import as new asset:** this option will import the duplicate as a new asset | + | * **Import as a new region:** this option will import the duplicate as a new region |
* **Skip the duplicate without asking:** the duplicate will not be imported and that row of the spreadsheet will be ignored | * **Skip the duplicate without asking:** the duplicate will not be imported and that row of the spreadsheet will be ignored | ||
- | * **Stop the import:** as soon as a duplicate is encountered, | + | * **Stop the import:** as soon as a duplicate is encountered, |
- | * **Update | + | * **Update existing |
- | The //Field// column of the table shows you all the columns that mSupply has detected in your import file, the //Value// column shows the values | + | The //Value// column shows the values |
You can carry out the import by clicking on the **Import now** button or cancel it by clicking on the **Cancel** button. | You can carry out the import by clicking on the **Import now** button or cancel it by clicking on the **Cancel** button. | ||
- | When the import has finished you will be shown a message telling you how many assets were imported | + | During |
+ | * if the row has no region name it will be skipped | ||
+ | * if the row has an empty Geometry field, it will be imported | ||
+ | * if the row has content in the Geometry field that does not match the geoJSON FeatureCollection schema it will be skipped | ||
+ | * if the parent region does not exist or is empty the region will be imported with no parent | ||
- | <WRAP info center round 90%> | + | When the import |
- | All the assets created by the import will have the text " | + | |
- | </ | + | |
\\ | \\ |