Pierre, you might also consider using the API over at WikiMapia
They have a very well fleshed out database with a lot of local knowledge. Medical facilities, clinics, and educational resources are very well represented. Om On Jan 9, 2012, at 10:48 AM, [email protected] wrote: > Send HOT mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.openstreetmap.org/listinfo/hot > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of HOT digest..." > > > Today's Topics: > > 1. Libya Health Facillity Map (=?us-ascii?B?UGllcnJlIELpbGFuZA==?=) > 2. Re: Libya Health Facillity Map (andrzej zaborowski) > 3. Re: Libya Health Facillity Map (andrzej zaborowski) > 4. Re: HOT Hiring Practices Development (Kate Chapman) > 5. Re: Libya Health Facillity Map (=?utf-8?B?UGllcnJlIELDqWxhbmQ=?=) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 9 Jan 2012 09:47:29 -0500 > From: "=?us-ascii?B?UGllcnJlIELpbGFuZA==?=" <[email protected]> > To: "HOT Openstreetmap" <[email protected]> > Cc: "COLOMBO, Robert" <[email protected]> > Subject: [HOT] Libya Health Facillity Map > Message-ID: <[email protected]> > Content-Type: text/plain; charset="us-ascii" > > The World Health Organization (WHO) has asked HOT and the Stand By Task Force > (SBTF) to activate to map health facilities in in Libya. This should be done > in a very short period of time. > > For this Task, I have developped a Monitoring Map (Openlayers API) that > interact with GDoc spreadsheet to facilitate input of information and > monitoring : > 1. A GeoRSS overlay containing the GDoc records showing Health Facilities in > the Registry. > 2. A function to click on the map to add information about a facility. > Medical fellows from Libya will then have the possibility to simply add > information in a GDoc that will later be treated by the Task Force. > url -> > http://pierzen.dev.openstreetmap.org/hot/openlayers/libya_health_edit.php > > This API works fine except for the Switch Mode Form (permuting between > Navigation and Edit Point Mode). > > Since I don't have enough expertise about events in Openlayers, I request > your help to fix this problem. > > In the HTML, I have radio buttons > <div id="controlToggle"> > <input type="radio" name="type" value="none" id="noneToggle" > onclick="toggleControl(this);" checked="checked" /> > <label for="noneToggle">Navigate</label> > </div> > <div> > <input type="radio" name="type" value="point" id="pointToggle" > onclick="toggleControl(this);" /> > <label for="pointToggle">Add Facility</label> > </div> > > In the Javascript, the toggleControl(element) function lets permute between > the two modes. On the other hand, the events.register("click", map, > function) opens a popup when we click on the map. This should popup only when > the Add Facility mode is active. > > I dont succeed in reading status of Controls object. As I understand it, > there should be an instruction that will let me know if the Controls(point) > is active. > > Anybody can help me about that? > > > Pierre Béland > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <http://lists.openstreetmap.org/pipermail/hot/attachments/20120109/5cf10864/attachment-0001.html> > > ------------------------------ > > Message: 2 > Date: Mon, 9 Jan 2012 16:07:21 +0100 > From: andrzej zaborowski <[email protected]> > To: Pierre B?land <[email protected]> > Cc: "COLOMBO, Robert" <[email protected]>, HOT Openstreetmap > <[email protected]> > Subject: Re: [HOT] Libya Health Facillity Map > Message-ID: > <CAOq732Lb5-ucXi4UBF3k2K=3lje2tpq6rqaqtbltpk4vnz8...@mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > Hi Pierre, > > 2012/1/9 Pierre B?land <[email protected]>: >> The World Health Organization (WHO) has asked HOT and the Stand By Task >> Force (SBTF) to activate to map health facilities in in Libya. This should >> be done in a very short period of time. >> >> For this Task, I have developped a Monitoring Map (Openlayers API) that >> interact with GDoc spreadsheet to facilitate input of information and >> monitoring : >> 1.?A GeoRSS overlay containing the?GDoc records showing Health Facilities in >> the Registry. >> 2. A function to click on the map to add information about a facility. >> Medical fellows from Libya will then have the possibility to simply add >> information in a GDoc that will later be treated by the Task Force. >> url -> >> http://pierzen.dev.openstreetmap.org/hot/openlayers/libya_health_edit.php > > Excellent! > >> >> This API works fine except for the Switch Mode Form (permuting between >> Navigation and Edit Point Mode). >> >> Since I don't have enough expertise about events in Openlayers, I request >> your help to fix this problem. >> >> In the HTML, I have radio buttons >> ????????<div?id="controlToggle"> >> ????????????<input?type="radio"?name="type"?value="none"?id="noneToggle" >> ???????????????????onclick="toggleControl(this);"?checked="checked"?/> >> ????????????<label?for="noneToggle">Navigate</label> >> ????????</div> >> ????????<div> >> ????????????<input?type="radio"?name="type"?value="point"?id="pointToggle" >> ???????????????????onclick="toggleControl(this);"?/> >> ????????????<label?for="pointToggle">Add?Facility</label> >> ????????</div> >> >> In the Javascript, the?toggleControl(element)?function lets permute between >> the two?modes. On the other hand, >> the???events.register("click",?map,?function) opens a popup when we click on >> the map. This should popup only when the Add Facility mode is active. >> >> I dont succeed in reading status of Controls object.? As I understand it, >> there should be?an instruction that will let me know?if the Controls(point) >> is active. > > The page uses .activate(), in the same way ".active" can be used to > check if the control is active. (Controls["point"].active) > > Alternatively using plain html dom "if > (document.getElementById('pointToggle').checked) .." should also work? > > Cheers > > > > ------------------------------ > > Message: 3 > Date: Mon, 9 Jan 2012 16:10:39 +0100 > From: andrzej zaborowski <[email protected]> > To: Pierre B?land <[email protected]> > Cc: "COLOMBO, Robert" <[email protected]>, HOT Openstreetmap > <[email protected]> > Subject: Re: [HOT] Libya Health Facillity Map > Message-ID: > <CAOq732KaA-M9oea=CZ45CiHP7ddQ6Q_qXj1XD2wiGK=pqtx...@mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > 2012/1/9 andrzej zaborowski <[email protected]>: >>> In the Javascript, the?toggleControl(element)?function lets permute between >>> the two?modes. On the other hand, >>> the???events.register("click",?map,?function) opens a popup when we click on >>> the map. This should popup only when the Add Facility mode is active. >>> >>> I dont succeed in reading status of Controls object.? As I understand it, >>> there should be?an instruction that will let me know?if the Controls(point) >>> is active. >> >> The page uses .activate(), in the same way ".active" can be used to >> check if the control is active. (Controls["point"].active) >> >> Alternatively using plain html dom "if >> (document.getElementById('pointToggle').checked) .." should also work? > > (Sorry if I misunderstood the question -- it looks like you're already > using these properties) > > Cheers > > > > ------------------------------ > > Message: 4 > Date: Mon, 9 Jan 2012 10:24:08 -0500 > From: Kate Chapman <[email protected]> > To: hot <[email protected]> > Subject: Re: [HOT] HOT Hiring Practices Development > Message-ID: > <cagn7moo3avd62losavisehbn2jclg3y3aygsmxmpee5hyxl...@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > Hello Everyone, > > I wanted to thank you for filling out the survey. If anyone hasn't > yet filled it out and wants to please do. > > https://docs.google.com/spreadsheet/viewform?hl=en_US&formkey=dHp5ZlZRYS0wd3hReWV6aEhnMmtHSVE6MQ#gid=0 > > I'll be releasing the results in about a week. > > Best, > > -Kate > > On Wed, Jan 4, 2012 at 8:16 AM, Kate Chapman <[email protected]> wrote: >> Hi All, >> >> So far when people have been hired to work on projects for HOT the >> process has been ad hoc. ?In the interest of fairness and to save time >> with future projects we are developing a policy around this. >> Everything developed will be publicly posted as things are developed. >> >> To get some feedback from everyone I've made a Google Form. ?If you >> have time I would appreciate it if you could fill it out. >> >> https://docs.google.com/spreadsheet/viewform?hl=en_US&formkey=dHp5ZlZRYS0wd3hReWV6aEhnMmtHSVE6MQ#gid=0 >> >> Also if you have any other questions/suggests/etc please feel free to >> ask those questions on this list or to email me directly. >> >> Best, >> >> -Kate > > > > ------------------------------ > > Message: 5 > Date: Mon, 9 Jan 2012 10:48:34 -0500 > From: "=?utf-8?B?UGllcnJlIELDqWxhbmQ=?=" <[email protected]> > To: "=?utf-8?B?SE9UIE9wZW5zdHJlZXRtYXA=?=" <[email protected]> > Cc: COLOMBO, Robert <[email protected]> > Subject: Re: [HOT] Libya Health Facillity Map > Message-ID: <[email protected]> > Content-Type: text/plain; charset="utf-8" > > andrzej > > this is your solution that I just tested and added to the script. Thanks a > lot. > > Your solution works. I am also in contact with pgiraud through HOT chat. He > also suggested to change state back to navigation after popup. > > We now have some kind of Crowdsourcing solution to offer to monitor Task > force work and for interacting with people on the field. > > > Pierre B?land > > > > > > De ? andrzej zaborowski > Date/heure ? 2012-01-09 10:10:39 > A ? Pierre_B?land > Cc ? HOT Openstreetmap; COLOMBO, Robert > Sujet ? Re: [HOT] Libya Health Facillity Map > > 2012/1/9 andrzej zaborowski <[email protected]>: >>> In the Javascript, the toggleControl(element) function lets permute between >>> the two modes. On the other hand, >>> the events.register("click", map, function) opens a popup when we click on >>> the map. This should popup only when the Add Facility mode is active. >>> >>> I dont succeed in reading status of Controls object. As I understand it, >>> there should be an instruction that will let me know if the Controls(point) >>> is active. >> >> The page uses .activate(), in the same way ".active" can be used to >> check if the control is active. (Controls["point"].active) >> >> Alternatively using plain html dom "if >> (document.getElementById('pointToggle').checked) .." should also work? > (Sorry if I misunderstood the question -- it looks like you're already > using these properties) > Cheers > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <http://lists.openstreetmap.org/pipermail/hot/attachments/20120109/fbe16659/attachment.html> > > ------------------------------ > > _______________________________________________ > HOT mailing list > [email protected] > http://lists.openstreetmap.org/listinfo/hot > > > End of HOT Digest, Vol 23, Issue 6 > ********************************** _______________________________________________ HOT mailing list [email protected] http://lists.openstreetmap.org/listinfo/hot
