niryariv / tiptipa

Mobile friendly minisite for location nearby Polio vaccination centers in Israel
http://tipa.li/
BSD 3-Clause "New" or "Revised" License
3 stars 5 forks source link

instead of errors.txt, keep the failed geocodings in stations.geojson #4

Closed niryariv closed 11 years ago

niryariv commented 11 years ago

instead of creating a separate file, we can keep the mislocated stations in the original file with some "error:" property, and filter them out in leaflet.js

this will allow people to fix the data directly in the json, and fixes will be reflected immediately.

niryariv commented 11 years ago

@alonisser what do you think of the above? ^

the main challenge for me is to get the text to display in readable form, ie "תל אביב" instead of "\u05db\u05ea" etc - to make it user-readable. my python unicode skills are lacking..

alonisser commented 11 years ago

a readable form in the Json? so we can read it from js? I'll give it a try

niryariv commented 11 years ago

exactly - ideally, people can then fork it, edit the file in place on github to enter locations (and fix typos etc) and we'll merge it back. basically we'll have a live DB everyone can edit.

thanks!

niryariv commented 11 years ago

I implemented the errors in the geojson part, but couldn't do the readable text part. closing this and creating a new ticket for the readable text.