How to import GML to GIS section in DHIS2

Dear all,

I am newbie with using DHIS2. I play around a few months ago. And now I can’t import GML into GIS. I met problem when I has SHP file in Cambodia and I convert it in ArcGIS software to GML file. But I don’t know what standard fields for importing into DHIS2. Can anyone give me sample GML file for looking?

Thank you very much

channara

Dear Channara,

This search https://www.google.no/search?q=gml+dhis2 gave me the following link:

http://www.dhis2.org/doc/snapshot/en/user/html/ch18s02.html

Step 3 describes the procedure. Unfortunately, it is rather cumbersome (I have a student working on an easier method).

Also, I happen to have a hierarchy ready for Cambodia which I could probably share with you if you are interested, though I would think the facility levels would differ.

Knut

···

On Wed, Nov 6, 2013 at 8:13 AM, Rin Channara RChannara@fhi360.org wrote:

Dear all,

I am newbie with using DHIS2. I play around a few months ago. And now I can’t import GML into GIS. I met problem when I has SHP file in Cambodia and I convert it in ArcGIS software to GML file. But I don’t know what standard fields for importing into DHIS2. Can anyone give me sample GML file for looking?

Thank you very much

channara


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org

Hi Channara

This sample gml file from unit tests in the source code might help:

http://bazaar.launchpad.net/~dhis2-devs-core/dhis2/trunk/view/head:/dhis-2/dhis-services/dhis-service-importexport/src/test/resources/polygon.gml

···

On 6 November 2013 08:23, Knut Staring knutst@gmail.com wrote:

Dear Channara,

This search https://www.google.no/search?q=gml+dhis2 gave me the following link:

http://www.dhis2.org/doc/snapshot/en/user/html/ch18s02.html

Step 3 describes the procedure. Unfortunately, it is rather cumbersome (I have a student working on an easier method).

Also, I happen to have a hierarchy ready for Cambodia which I could probably share with you if you are interested, though I would think the facility levels would differ.

Knut


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

On Wed, Nov 6, 2013 at 8:13 AM, Rin Channara RChannara@fhi360.org wrote:

Dear all,

I am newbie with using DHIS2. I play around a few months ago. And now I can’t import GML into GIS. I met problem when I has SHP file in Cambodia and I convert it in ArcGIS software to GML file. But I don’t know what standard fields for importing into DHIS2. Can anyone give me sample GML file for looking?

Thank you very much

channara


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org

Sorry I don’t really know the origin of the file. I think probably fwtools.

Can you share a short snippet of the gml file you have created so we can look?

···

On 6 November 2013 09:34, Rin Channara RChannara@fhi360.org wrote:

So thank you for sharing,

By the way, Can you guide for me ,this GML file is created by software like (ArcMap or FWTools) or do manual?

Thank you again J

Channara

From: Bob Jolliffe [mailto:bobjolliffe@gmail.com]

Sent: Wednesday, November 06, 2013 4:25 PM

To: Knut Staring

Cc: Rin Channara; dhis2-users@lists.launchpad.net

Subject: Re: [Dhis2-users] How to import GML to GIS section in DHIS2

Hi Channara

This sample gml file from unit tests in the source code might help:

http://bazaar.launchpad.net/~dhis2-devs-core/dhis2/trunk/view/head:/dhis-2/dhis-services/dhis-service-importexport/src/test/resources/polygon.gml

On 6 November 2013 08:23, Knut Staring knutst@gmail.com wrote:

Dear Channara,

This search
https://www.google.no/search?q=gml+dhis2
gave me the following link:

http://www.dhis2.org/doc/snapshot/en/user/html/ch18s02.html

Step 3 describes the procedure. Unfortunately, it is rather cumbersome (I have a student working on an easier method).

Also, I happen to have a hierarchy ready for Cambodia which I could probably share with you if you are interested, though I would think the facility levels would differ.

Knut

On Wed, Nov 6, 2013 at 8:13 AM, Rin Channara RChannara@fhi360.org wrote:

Dear all,

I am newbie with using DHIS2. I play around a few months ago. And now I can’t import GML into GIS. I met problem when I has SHP file in Cambodia and I convert it in ArcGIS software to GML file. But I don’t know what standard fields for importing into DHIS2. Can anyone give me sample GML file for looking?

Thank you very much

channara


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Looks to me like there might be a bug with GML import now. Need to investigate further.

Knut

···

On Wed, Nov 6, 2013 at 8:13 AM, Rin Channara RChannara@fhi360.org wrote:

Dear all,

I am newbie with using DHIS2. I play around a few months ago. And now I can’t import GML into GIS. I met problem when I has SHP file in Cambodia and I convert it in ArcGIS software to GML file. But I don’t know what standard fields for importing into DHIS2. Can anyone give me sample GML file for looking?

Thank you very much

channara


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org

yes just looking at source code and I see there is a bug. It is still converting from gml to dxf1.0 which is no longer supported internally within dhis2. Can you report it as a bug or a blueprint or both. I’ll try and fix this asap.

···

On 8 November 2013 10:41, Knut Staring knutst@gmail.com wrote:

Knut

Looks to me like there might be a bug with GML import now. Need to investigate further.


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

On Wed, Nov 6, 2013 at 8:13 AM, Rin Channara RChannara@fhi360.org wrote:

Dear all,

I am newbie with using DHIS2. I play around a few months ago. And now I can’t import GML into GIS. I met problem when I has SHP file in Cambodia and I convert it in ArcGIS software to GML file. But I don’t know what standard fields for importing into DHIS2. Can anyone give me sample GML file for looking?

Thank you very much

channara


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org

https://bugs.launchpad.net/dhis2/+bug/1249448

···

On Fri, Nov 8, 2013 at 1:01 PM, Bob Jolliffe bobjolliffe@gmail.com wrote:

yes just looking at source code and I see there is a bug. It is still converting from gml to dxf1.0 which is no longer supported internally within dhis2. Can you report it as a bug or a blueprint or both. I’ll try and fix this asap.


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org

On 8 November 2013 10:41, Knut Staring knutst@gmail.com wrote:

Knut

Looks to me like there might be a bug with GML import now. Need to investigate further.


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

On Wed, Nov 6, 2013 at 8:13 AM, Rin Channara RChannara@fhi360.org wrote:

Dear all,

I am newbie with using DHIS2. I play around a few months ago. And now I can’t import GML into GIS. I met problem when I has SHP file in Cambodia and I convert it in ArcGIS software to GML file. But I don’t know what standard fields for importing into DHIS2. Can anyone give me sample GML file for looking?

Thank you very much

channara


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org