dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #26883
Re: [Dhis2-users] GML Import not displaying under org units
Hi Dayo,
I do not think this is a really possible to do with GML, as there are no
child-parent relationships which are imported. (Could be wrong here, but I
do not think so)
I would think you would need to
1) Import the hierarchy using DXF2
2) Import the geographical data using GML.
or alternatively
1) Just used DXF to import both the hierarchy as well as the geographical
data together.
Simply changing the level will have no effect, as this is determined
through the parent-child relationships of the orgunits themselves.
Regards,
Jason
Regards,
Jason
On Wed, Dec 18, 2013 at 6:09 PM, Dayo Adeyomoye <deemoyes@xxxxxxxxx> wrote:
> Dear All,
>
> I imported GML file into DHIS2 for coordinates without having the org
> units there already as they are many (775). This import was successful but
> I did not find this org units under the org unit tree. I know DHIS2 allows
> only 1 org unit at the level 1, so I did a meta data export of only org
> units and found that this imported org units from GML are all on level 1,
> perhaps the reason for not showing up.
>
> I then opened this xml file using an xml editor to replaced all level=1""
> org units to be level="2" and then returned the master org unit to
> level="1" since the replace all would have also changed it. I imported this
> file, which was also successful but I still can not find this org units,
> reason probably being that no change was effected in the database because
> when I do an export again and access the xml file, the changes I made and
> imported does not reflect. It gives me the same old export.
>
> Thanks
>
> BlackBerry: 3114F90C
> Phone: 08028851441, 08035560463
> emails: deemoyes@xxxxxxxxx, addyraph@xxxxxxxxx
> Yahoo IM: deemoyes
> Facebook: pharael
> twitter:pharaell
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help : https://help.launchpad.net/ListHelp
>
>
References