← Back to team overview

dhis2-devs team mailing list archive

Re: DHIS2 - Validations on GPS coordinates

 

Hi Jason,

Thanks for the detailed reply. It might a useful feature for later if other users see a need. For the moment, we will have a look at the general validation.

Regards,

Robin

From: Jason Pickering [mailto:jason.p.pickering@xxxxxxxxx]
Sent: 16 March 2015 11:53
To: Robin Martens
Cc: Abyot Gizaw; DHIS 2 Users list; dhis2-devs
Subject: Re: [Dhis2-devs] DHIS2 - Validations on GPS coordinates

Hi Robin,

I think what Abyot means is that general validation would be something like saying that you could setup a bounding box for the area which you know you are going to receive coordinates. For instance, if the countries latitude is between -18 and -25 degrees, you could setup a rule to ensure that the coordinates are between these values. However, what you suggest is much more sophisticated, i.e. spatial validation based on the position within the orgunit hierarchy. This is not supported and would certainly need some development or a custom app to support this.

You may need to look here

https://apps.dhis2.org/dev/

which is the latest version of "trunk" while the normal demo site is the latest version of the current stable release.

Best regards,
Jason


On Mon, Mar 16, 2015 at 10:48 AM, Robin Martens <martens@xxxxxxx<mailto:martens@xxxxxxx>> wrote:
Hi Abyot,

What do you mean with the “general validation of latitude and longitude”?

Using google maps would be great. However, I didn’t find it on the Event Capture app on the demo server. How do you access it?

Regards,

Robin

From: Abyot Gizaw [mailto:abyota@xxxxxxxxx<mailto:abyota@xxxxxxxxx>]
Sent: 16 March 2015 11:38
To: Robin Martens
Cc: DHIS 2 Users list; dhis2-devs
Subject: Re: [Dhis2-devs] DHIS2 - Validations on GPS coordinates

Hi Robin,

No, it is not possible to define specific validation on coordinates except the general validation of latitude and longitude.

However, if you look at the latest Event Capture app, it is possible to capture coordinates from Google map. The app also allows to zoom-in/out based on polygons and points defined for orgunits.


---
Thank you,
Abyot.

On Mon, Mar 16, 2015 at 10:22 AM, Robin Martens <martens@xxxxxxx<mailto:martens@xxxxxxx>> wrote:
Hi all,

Does anyone know if it is possible to set validation rules on GPS coordinates in the event capture module?

Ideally, coordinates would be within the polygon of the organization unit the event is linked to (a country or district in this case). Else, just min-max values could already work to limit the possibility of errors.

Thanks,

Robin

From: Dhis2-users [mailto:dhis2-users-bounces+martens<mailto:dhis2-users-bounces%2Bmartens>=sher.be@xxxxxxxxxxxxxxxxxxx<mailto:sher.be@xxxxxxxxxxxxxxxxxxx>] On Behalf Of Ngoc Thanh Nguyen
Sent: 15 March 2015 20:29
To: DHIS 2 Users list; dhis2-devs
Subject: [Dhis2-users] Morbidity and mortality program in demo dhis2 site

Hi all,

I would like to buid a system for Morbidity and mortality in Vietnam. I think the one deployed on the demo site is similar to what we plan to have though it may go a bit further, i.e. multiple events with registration (tracking a patient throughout their admission history) rather than single event without registration.

Could anyone who were involved in this implementation share some lessons?

Thanks
Thanh

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx<mailto:dhis2-devs@xxxxxxxxxxxxxxxxxxx>
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx<mailto:dhis2-devs@xxxxxxxxxxxxxxxxxxx>
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp



--
Jason P. Pickering
email: jason.p.pickering@xxxxxxxxx<mailto:jason.p.pickering@xxxxxxxxx>
tel:+46764147049

References