Importing orgunit coordinates

Hello Community,

If it possible to do a bulk import of coordinates to existing org units through the import-export app? If so, can someone share a template (.csv or any format) that is compatible with v2.33.9?

Thank you,
Kris

Hey,

I’d recommend you use API and here’s the guide (https://docs.dhis2.org/en/develop/using-the-api/dhis-core-version-master/metadata.html#webapi_csv_org_units) please let me know if you have any question!

Thank you!

thanks @Gassim, do you have an example of a csv that includes coordinates? I tried the following csv format with the import/export app based on the documentation you referenced but my coordinates were imported as the description :confused:

name,uid,code,parent,feature type,coordinates
“test 1”,“TEST1”,“KcYj3baL88s”,“POINT”,"[1.0, 1.0]"

Hey, I think the reason is because you need to use a comma for each column you skip, so for example:
Name,UID,Code,Parent,Short Name,Description,Opening date,Closed date,Feature type,Coordinates
“test 1”,“TEST1”,“KcYj3baL88s”,,,,,“POINT”,"[1.0, 1.0]"

The columns are mentioned in the guide above, (:

Also if you try doing the above and it still doesn’t work, I think you might find it useful if you review this doc: Maps - DHIS2 Documentation