← Back to team overview

dhis2-users team mailing list archive

Re: All data available through DHIS2 API ?

 

Hi Stephane

The coordinates are available on the /api/organisationUnits endpoint.  So
if you went to:

/api/organisationUnits/<orgunit uid>.xml

You will find a <coordinates ../> element which has the coordinates.


On 7 November 2013 10:28, Stéphane Delbeke <sdelbeke@xxxxxxxxxxxxxx> wrote:

> Dear all,
>
> I am new to DHIS2 and just joined the community.
> I'm trying to extract data through the API.
> I could easily extract a list of organisationUnits through a link like
> /api/organisationUnitGroups/FKXJxzwouXl
> But when going deeper in one unit in the adminstrative data, i can't find
> all information that i see through the GUI.
> I am looking for instance to extract the geographic coordinates.
> Is everything available through the API ?
> How can i access the geographic coordinates of a unit ?
>
> Thanks for your help,
>
> Stephane
>
> _______________________________________________
> 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
>
>

Follow ups

References