And if this does not work,you may need to get the actual projection which
you are using.

Which can be done with

ogrinfo -al /path/to/myshapefile.shp


Or if you are using something like ArcGIS or Quantum GIS there are methods
to do this through the UI as well.


On Mon, Mar 30, 2015 at 2:34 PM, Nami Ghadri <nami_gha...@hotmail.com>
wrote:

> Thanks
>
>
>
> I will also check that
>
>
>
> Thanks
>
>
>
>
>
>
>
>
>  <http://www.qrcs.org.qa/> Description: Description:
> cid:image001.jpg@01D02B6E.3FF14DC0
>
> نامي غادري
> مدير قسم تقنية المعلومات و الأنظمة
>
> بعثة تركيا
>
> Nami Ghadri
>
> Head Of Information technology and Systems Dept.
>
> Information Technoclogy & systems
>
> Turkey Mission
>
>
> Mob:+905317978228             |        Skype: nami.ghadri         |
>      Gaziantep – Turkey
>
>
>
>
>
>
>
> From: Halvdan Grelland [mailto:halvda...@gmail.com]
> Sent: Monday, March 30, 2015 3:01 PM
> To: Nami ghadri
> Cc: Nayeem Al Mifthah; dhis2-users@lists.launchpad.net
> Subject: Re: [Dhis2-users] GML
>
>
>
> Hi Nami,
>
>
>
> I tried to import the file in question (syr_admin2.gml). Obviously I don't
> have the required DB for it to successfully import so I created a few of
> the orgunits named in the GML file. These import fine: reported as updated
> by the importer as well as their respective DB fields being populated
> correctly. Please make doubly sure you have the correct names set for the
> orgunits in the database.
>
>
>
> What query did you run to validate you DB contents? Please run the
> following after import:
>
>
>
> select name from organisationunit where featuretype is null or coordinates
> is null;
>
>
>
> Do you see the names of the orgunits in the GML file there? If so please
> also check the server logs if possible.
>
>
>
> Also make sure you have read and followed these steps:
>
> https://www.dhis2.org/doc/snapshot/en/user/html/ch18s02.html
>
>
>
> That being said your coordinate data seems to be completely off as the
> districts (at least from the few coordinates I sampled) seem to be located
> in the middle of the South Atlantic Ocean as well as covering incredibly
> small areas (smaller than we support in DHIS2). This would also cause your
> polygons to not render properly in GIS, of course. We do limit the import
> data on import to 4 decimal digits (which should give a maximum accuracy of
> ~10m).
>
>
>
> Regards,
>
> Halvdan
>
>
>
> 2015-03-29 19:42 GMT+02:00 Nami ghadri <nami_gha...@hotmail.com>:
>
> Dears,
>
>
>
> File nami.gml worked with me imported successfully and found it in database
>
>
>
> But file syr_admin2.gml was imported successfully but could not find it in
> database
>
>
>
>
>
> Thanks in advance
>
>
>
>
>
> From: Halvdan Grelland [mailto:halvda...@gmail.com]
> Sent: Sunday, March 29, 2015 8:33 PM
> To: Nayeem Al Mifthah
> Cc: dhis2-users@lists.launchpad.net; Nami ghadri
> Subject: Re: [Dhis2-users] GML
>
>
>
> More precisely: make sure there is a NAME property for each featureMember
> which matches the corresponding orgunit name property (identical match).
> You're welcome to send med a gml sample which you're having trouble with.
>
> On 29 Mar 2015 19:29, "Nayeem Al Mifthah" <n.mift...@gmail.com> wrote:
>
> Dear Nami,
>
> Make sure thar Orgunit name is similar to the field name in shape file
> attribute table.
>
>
>
> And the coordinate system of shape file is similar to DHIS2 recommended
> one.
>
>
>
>
> Nayeem Al Mifthah
> HMIS Consultant
> Management Information System
> Directorate General of Health Services (DGHS), Bangladesh
> Supported by: UNICEF-Bangladesh
> Email: n.mift...@gmail.com  | nay...@mis.dghs.gov.bd
> Cell:+8801914030574 <tel:%2B8801914030574>
>
>
>
> On Sun, Mar 29, 2015 at 10:15 PM, Nami ghadri <nami_gha...@hotmail.com>
> wrote:
>
> Hello All,
>
>
>
> I was able to covert shape file to GML file
>
>
>
> And export it to DHIS2
>
>
>
> Result are successful with no error and none is ignored
>
>
>
> But when I check data base on organisationunit table I can’t find the
> coordinates and also featuretype filed is empty ( is should give me Polygon
> )
>
>
>
> Any one faced that problem or any can give a guide line about it
>
>
>
> Thanks in advance
>
>
>
>
> _______________________________________________
> 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
>
>
>
>
> _______________________________________________
> 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
>
>
>
>
> _______________________________________________
> 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
>
>


-- 
Jason P. Pickering
email: jason.p.picker...@gmail.com
tel:+46764147049
_______________________________________________
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

Reply via email to