Re: [Dhis2-users] Convert SHP to GML in Windows 7
Guy, I think you should convert using the latest version of QGIS (QGIS 8). you can donwload it from www.QGIS.org website. Sincerelly. Henri MOUNGUI Le Jeudi 4 septembre 2014 0h29, Guy Ekani constyek...@yahoo.fr a écrit : Thank you sir, I converted the file with Qgis 1.0.2, but I get an error when importing. Can you tell me what is the error in the file below? Sincerely, = Guy ?xml version=1.0 encoding=utf-8 ? ogr:FeatureCollection xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://ogr.maptools.org/ Country.xsd xmlns:ogr=http://ogr.maptools.org/; xmlns:gml=http://www.opengis.net/gml; gml:boundedBy gml:Box gml:coordgml:X8.49874900032/gml:Xgml:Y1.65254800138/gml:Y/gml:coord gml:coordgml:X16.1921150012/gml:Xgml:Y13.078065/gml:Y/gml:coord /gml:Box /gml:boundedBy gml:featureMember ogr:Country ogr:geometryPropertygml:MultiPolygongml:polygonMembergml:Polygongml:outerBoundaryIsgml:LinearRinggml:coordinates 9 8 /gml:coordinates/gml:LinearRing/gml:outerBoundaryIs/gml:Polygon/gml:polygonMember/gml:MultiPolygon/ogr:geometryProperty /ogr:Country /gml:featureMember /ogr:FeatureCollection Le Mardi 2 septembre 2014 17h34, Bram Piot bram.p...@gmail.com a écrit : There are multiple ways to do this, the easiest of which is to install QGIS (www.qgis.org), open the shapefile and then save as gml. QGIS also allows you to easily transform projections, in case your shapefile is projected. More info on handling boundary files in the documentation, though I'm not sure it's all up to date. bram On 2 September 2014 17:26, Guy Ekani constyek...@yahoo.fr wrote: Hi to all, Please How can I Convert SHP File to GML in Windows 7? Sincerely, = Guy ___ 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
[Dhis2-users] Creating Users through Account Invites using Web Api
Hi Morten, Abyot and other DHIS2 users, I am trying to create users by sending User Account Invites through the web api but can't find much in the way of documentation. Can anyone help? I am using Version:2.16 Build revision:16384 Thanks. Busoye ___ 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
Re: [Dhis2-users] Creating Users through Account Invites using Web Api
Hi Busoye, Good. Assigning one or more organisationUnits is required. You may also optionally assign one or more dataViewOrganisationUnits. Cheers, Jim On Thu, Sep 4, 2014 at 10:55 AM, bus...@hisp.org wrote: Thanks Jim, I was using dataviewOrganisationUnit in the call. Will try the just organisationUnits Best regards, Busoye On 2014-09-04 16:34, Jim Grace wrote: Hi Busoye, The documentation, as you may have seen, is at https://www.dhis2.org/doc/snapshot/en/user/html/dhis2_user_manual_en_full.html#d5e10755 . I agree that it should be expanded. Meanwhile, here are some additional tips: To see the format that you should send for a user invitation, try getting a user in json format through the API, such as: https://apps.dhis2.org/demo/api/users/OYLGMiazHtW.json You can use this as general ideas of what json to submit as the user invite. But you only need to submit a small subset of this. Note that for an invitation, the email address is essential. For example, the json file can contain something like: { email: nore...@dhis2.org, userCredentials: { username: inviteduser }, groups: [ { id: wl5cDMuUhmF }, { id: QYrzIjSfI8z } ], organisationUnits: [ { id:ImspTQPwCqd } ] } Edit the email address to your own email for testing, and this json file should work with: curl -d @user.json https://apps.dhis2.org/demo/api/users/invite; -H Content-Type:application/json -u admin:district -v This will send an invitation for the user to register, with a preassigned user name of invitedUser. If you want the user to pick their own user name (like what they do when self-registering), you can leave out the userCredentials line. Note that as of now, user roles need to be assigned in a subsequent API call for the created user. Hope this helps. Cheers, Jim On Thu, Sep 4, 2014 at 7:33 AM, bus...@hisp.org wrote: Hi Morten, Abyot and other DHIS2 users, I am trying to create users by sending User Account Invites through the web api but can't find much in the way of documentation. Can anyone help? I am using Version:2.16 Build revision:16384 Thanks. Busoye ___ 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
[Dhis2-users] DHIS2 - Averaging over orgunits
Hi there, As per the manual, the average option when defining data elements aggregates by average over periods but sum over orgunits. This limits severely the reporting possibilities, for instance when calculating the average person age over multiple districts but I can think of many other examples (prices, age, education grades,...). Is there any way to configure DHIS2 to average over orgunits? Thank you, Robin ___ 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