← Back to team overview

dhis2-devs team mailing list archive

Re: Documentation on GIS App

 

Hi Abyot,

Thanx for the clue. I'll try to work on that.

Regards,
Pamod

On Fri, Dec 12, 2014 at 4:10 PM, Abyot Gizaw <abyota@xxxxxxxxx> wrote:
>
> Hi Pamond,
>
> Jan can comment on the possibility/way of *hacking* his GIS app to display
> the heat map you wanted.
>
> But you can also do this:
>
> 1. Get all your polygons by level -
> api/organisationUnits.geojson?level=OU_LEVEL
> 2. You can feed the polygons directly to Google map API
> 3. Since there could be multiple levels and polygons/boundaries based on
> state, county, district... you need to be a little creative to implement
> some kind of zoom-in/out effects
> 4. Get all tracker data through event api - loop through and generate
> LatLng objects
> 5. Once you have a bunch of LatLng objects and feed them to a map, you can
> just call google map's HeatMapLayer visualization.
>
>
> ---
> Thank you,
> Abyot.
>
> On Fri, Dec 12, 2014 at 8:32 AM, Calle Hedberg <calle.hedberg@xxxxxxxxx>
> wrote:
>>
>> Pamod,
>>
>> Aha - "in tracker I'm collecting GIS point coordinates as attributes".
>> That is the crux of the matter, I believe: the coordinates used in the
>> DHIS2-GIS is stored in the OrganisationUnit table with a geotype, i.e. the
>> points and polygons are part of the Organisational Hierarchy.
>>
>> Your heat/spot map will in reality represent event cases. Tricky...
>>
>> Regards
>> Calle
>>
>> On 11 December 2014 at 14:19, Pamod Amarakoon <pamodm@xxxxxxxxx> wrote:
>>
>>> Hi Calle,
>>>
>>> A basic use case of this project is for example generating of a spot map
>>> of severely malnourished children, identified by data elemets or
>>> inadicators.
>>>
>>> 1. yes tracker data is in dhis2 version 2.16 currently and they are
>>> linked to org units (in this case org units are equivalent to admin
>>> boundaries with GIS corrdinates as polygons)
>>>
>>> 2. with use of aggregation query bulder i can get aggregated data to be
>>> displayed in GIS module in dhis
>>>
>>> 3. my specific requirement of spot map or heat map is not supported
>>> directly in dhis2 GIS at the moment it seems. In tracker data I'm
>>> collecting GIS point coordinates as attributes. I want to send those
>>> coordinate attributes to google map api to display a heat/spot map.
>>>
>>> Thanx
>>>
>>> On Thu, Dec 11, 2014 at 3:43 PM, Calle Hedberg <calle.hedberg@xxxxxxxxx>
>>> wrote:
>>>
>>>> Pamod,
>>>>
>>>> So let's unpack this a bit:
>>>>
>>>> 1. you have event tracker data in DHIS 2. This data is linked to health
>>>> facilities?
>>>>
>>>> 2. You can display the data as popups etc in the normal DHIS2 GIS
>>>> interface.
>>>>
>>>> 3. BUT that interface does not provide support for certain types of
>>>> maps, so you want a simple way of dumping the facilities out with their
>>>> coordinates AND with event data as additional attributes and then push that
>>>> into Google Maps?
>>>>
>>>> Regards
>>>> Calle
>>>>
>>>> On 11 December 2014 at 11:15, Pamod Amarakoon <pamodm@xxxxxxxxx> wrote:
>>>>
>>>>> Hi Calle,
>>>>>
>>>>> Actually my requirement is to produce a spot map and heat map for
>>>>> tracker data. I don't think such functionality is possible in standard
>>>>> version.
>>>>> This could be easily done using Google Map API v3, was just wanting to
>>>>> check out whether it could be integrated with dhis2 for my project.
>>>>>
>>>>> Thank you
>>>>>
>>>>>
>>>>> On Thu, Dec 11, 2014 at 1:55 PM, Calle Hedberg <
>>>>> calle.hedberg@xxxxxxxxx> wrote:
>>>>>
>>>>>> Pamod,
>>>>>>
>>>>>> Are you referring to the GIS App as in manipulating existing GIS
>>>>>> layers, or are you referring to the App as in terms of adding additional
>>>>>> GIS data?
>>>>>>
>>>>>> Regards
>>>>>> Calle
>>>>>>
>>>>>> On 11 December 2014 at 09:45, Pamod Amarakoon <pamodm@xxxxxxxxx>
>>>>>> wrote:
>>>>>>
>>>>>>> Dear All,
>>>>>>>
>>>>>>> Is there any documentation on GIS App customization and the
>>>>>>> tools/scripts used in GIS app.
>>>>>>>
>>>>>>> Thank you
>>>>>>>
>>>>>>> --
>>>>>>> Pamod
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> *******************************************
>>>>>>
>>>>>> Calle Hedberg
>>>>>>
>>>>>> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>>>>>>
>>>>>> Tel/fax (home): +27-21-685-6472
>>>>>>
>>>>>> Cell: +27-82-853-5352
>>>>>>
>>>>>> Iridium SatPhone: +8816-315-19274
>>>>>>
>>>>>> Email: calle.hedberg@xxxxxxxxx
>>>>>>
>>>>>> Skype: calle_hedberg
>>>>>>
>>>>>> *******************************************
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Pamod
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *******************************************
>>>>
>>>> Calle Hedberg
>>>>
>>>> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>>>>
>>>> Tel/fax (home): +27-21-685-6472
>>>>
>>>> Cell: +27-82-853-5352
>>>>
>>>> Iridium SatPhone: +8816-315-19274
>>>>
>>>> Email: calle.hedberg@xxxxxxxxx
>>>>
>>>> Skype: calle_hedberg
>>>>
>>>> *******************************************
>>>>
>>>>
>>>
>>>
>>> --
>>> Pamod
>>>
>>>
>>
>>
>> --
>>
>> *******************************************
>>
>> Calle Hedberg
>>
>> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>>
>> Tel/fax (home): +27-21-685-6472
>>
>> Cell: +27-82-853-5352
>>
>> Iridium SatPhone: +8816-315-19274
>>
>> Email: calle.hedberg@xxxxxxxxx
>>
>> Skype: calle_hedberg
>>
>> *******************************************
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>

-- 
Pamod

References