Permalink
Browse files

Moved from http://code.google.com/p/olpc-map-net to github

  • Loading branch information...
0 parents commit 5cbcc2566ff16518d9a7aa9ebd001d83faaffe7c @mapmeld committed Apr 1, 2011
Showing with 45,050 additions and 0 deletions.
  1. +57 −0 app.yaml
  2. +8 −0 cron.yaml
  3. +467 −0 geocell.py
  4. +97 −0 geocell_test.py
  5. +41 −0 geomath.py
  6. +39 −0 geomath_test.py
  7. +281 −0 geomodel.py
  8. +100 −0 geotypes.py
  9. +67 −0 geotypes_test.py
  10. +1,026 −0 mapPage.py
  11. +4,080 −0 olpcmap.py
  12. +599 −0 static/.svn/all-wcprops
  13. +3,394 −0 static/.svn/entries
  14. +5 −0 static/.svn/prop-base/AbkulOrto.png.svn-base
  15. +5 −0 static/.svn/prop-base/AlexOdundo.png.svn-base
  16. +5 −0 static/.svn/prop-base/AndrewOtieno.png.svn-base
  17. +5 −0 static/.svn/prop-base/BernardCheruiyot.png.svn-base
  18. +5 −0 static/.svn/prop-base/CarolineMbulwa.png.svn-base
  19. +5 −0 static/.svn/prop-base/ChikaOkafor.png.svn-base
  20. +5 −0 static/.svn/prop-base/ChristiaanBarnard.jpg.svn-base
  21. +5 −0 static/.svn/prop-base/CyrusKabiru.jpg.svn-base
  22. +5 −0 static/.svn/prop-base/DennisMuraguri.png.svn-base
  23. +5 −0 static/.svn/prop-base/DicksonUkanga.png.svn-base
  24. +5 −0 static/.svn/prop-base/ElizabethOtieno.png.svn-base
  25. +5 −0 static/.svn/prop-base/GeorgeWashingtonCarver.jpg.svn-base
  26. +5 −0 static/.svn/prop-base/Greensmall1.png.svn-base
  27. +5 −0 static/.svn/prop-base/HanselOmondi.png.svn-base
  28. +5 −0 static/.svn/prop-base/HenryFord.jpg.svn-base
  29. +5 −0 static/.svn/prop-base/JacksonMwago.png.svn-base
  30. +5 −0 static/.svn/prop-base/JesseGichini.png.svn-base
  31. +5 −0 static/.svn/prop-base/JulieEvelien.png.svn-base
  32. +5 −0 static/.svn/prop-base/KamanziGloria.png.svn-base
  33. +5 −0 static/.svn/prop-base/KimNooij.png.svn-base
  34. +5 −0 static/.svn/prop-base/MakerFaireArtists3.jpg.svn-base
  35. +5 −0 static/.svn/prop-base/MakerFaireDrums1.jpg.svn-base
  36. +5 −0 static/.svn/prop-base/MichaelOyango.png.svn-base
  37. +5 −0 static/.svn/prop-base/PatrickKaraini.png.svn-base
  38. +5 −0 static/.svn/prop-base/PatrickThuita.png.svn-base
  39. +5 −0 static/.svn/prop-base/PaulWell.png.svn-base
  40. +5 −0 static/.svn/prop-base/PhilipIsohe.png.svn-base
  41. +5 −0 static/.svn/prop-base/RachelZimmerman.jpg.svn-base
  42. +5 −0 static/.svn/prop-base/RichardOkomb.png.svn-base
  43. +5 −0 static/.svn/prop-base/RobertMburu.png.svn-base
  44. +5 −0 static/.svn/prop-base/SimonKimani.png.svn-base
  45. +5 −0 static/.svn/prop-base/SusanAkinyi.png.svn-base
  46. +5 −0 static/.svn/prop-base/TalkingBook.jpg.svn-base
  47. +5 −0 static/.svn/prop-base/TerraWeikel.png.svn-base
  48. +5 −0 static/.svn/prop-base/ThomasEdison.jpg.svn-base
  49. +5 −0 static/.svn/prop-base/ThomasOdhiambo.jpg.svn-base
  50. +5 −0 static/.svn/prop-base/UniqueEco.jpg.svn-base
  51. +5 −0 static/.svn/prop-base/WilsonMasaka.png.svn-base
  52. +5 −0 static/.svn/prop-base/adam_holt.JPG.svn-base
  53. +5 −0 static/.svn/prop-base/addstuff.png.svn-base
  54. +5 −0 static/.svn/prop-base/bg_submit-report.png.svn-base
  55. +5 −0 static/.svn/prop-base/blank.png.svn-base
  56. +5 −0 static/.svn/prop-base/cc-by.jpg.svn-base
  57. +5 −0 static/.svn/prop-base/cluster-icon.gif.svn-base
  58. +5 −0 static/.svn/prop-base/cluster-icon.jpg.svn-base
  59. +5 −0 static/.svn/prop-base/cluster-icon.png.svn-base
  60. +5 −0 static/.svn/prop-base/favicon.ico.svn-base
  61. +5 −0 static/.svn/prop-base/kobe_chouest.jpg.svn-base
  62. +5 −0 static/.svn/prop-base/library.png.svn-base
  63. +5 −0 static/.svn/prop-base/mark_burnett.jpg.svn-base
  64. +5 −0 static/.svn/prop-base/moreMenu.png.svn-base
  65. +5 −0 static/.svn/prop-base/olpcmap-logo.png.svn-base
  66. +5 −0 static/.svn/prop-base/plusIcon.gif.svn-base
  67. +5 −0 static/.svn/prop-base/rweteera.jpg.svn-base
  68. +5 −0 static/.svn/prop-base/selfpump.jpg.svn-base
  69. +5 −0 static/.svn/prop-base/staticmap.jpg.svn-base
  70. +5 −0 static/.svn/prop-base/staticmap.png.svn-base
  71. +5 −0 static/.svn/prop-base/submit-incident.jpg.svn-base
  72. +5 −0 static/.svn/prop-base/xo-brown.png.svn-base
  73. +5 −0 static/.svn/prop-base/xo-red-search.png.svn-base
  74. +5 −0 static/.svn/prop-base/xo-red.png.svn-base
  75. +5 −0 static/.svn/prop-base/xo-yellow.png.svn-base
  76. +5 −0 static/.svn/prop-base/zMinus.png.svn-base
  77. +5 −0 static/.svn/prop-base/zPlus.png.svn-base
  78. BIN static/.svn/text-base/AbkulOrto.png.svn-base
  79. BIN static/.svn/text-base/AlexOdundo.png.svn-base
  80. BIN static/.svn/text-base/AndrewOtieno.png.svn-base
  81. BIN static/.svn/text-base/BernardCheruiyot.png.svn-base
  82. BIN static/.svn/text-base/CarolineMbulwa.png.svn-base
  83. BIN static/.svn/text-base/ChikaOkafor.png.svn-base
  84. BIN static/.svn/text-base/ChristiaanBarnard.jpg.svn-base
  85. BIN static/.svn/text-base/CyrusKabiru.jpg.svn-base
  86. BIN static/.svn/text-base/DennisMuraguri.png.svn-base
  87. BIN static/.svn/text-base/DicksonUkanga.png.svn-base
  88. BIN static/.svn/text-base/ElizabethOtieno.png.svn-base
  89. BIN static/.svn/text-base/GeorgeWashingtonCarver.jpg.svn-base
  90. BIN static/.svn/text-base/Greensmall1.png.svn-base
  91. BIN static/.svn/text-base/HanselOmondi.png.svn-base
  92. BIN static/.svn/text-base/HenryFord.jpg.svn-base
  93. BIN static/.svn/text-base/JacksonMwago.png.svn-base
  94. BIN static/.svn/text-base/JesseGichini.png.svn-base
  95. BIN static/.svn/text-base/JulieEvelien.png.svn-base
  96. BIN static/.svn/text-base/KamanziGloria.png.svn-base
  97. BIN static/.svn/text-base/KimNooij.png.svn-base
  98. BIN static/.svn/text-base/MakerFaireArtists3.jpg.svn-base
  99. BIN static/.svn/text-base/MakerFaireDrums1.jpg.svn-base
  100. +21 −0 static/.svn/text-base/MediaMarker.js.svn-base
  101. BIN static/.svn/text-base/MichaelOyango.png.svn-base
  102. +495 −0 static/.svn/text-base/OpenLayersStatic.js.svn-base
  103. BIN static/.svn/text-base/PatrickKaraini.png.svn-base
  104. BIN static/.svn/text-base/PatrickThuita.png.svn-base
  105. BIN static/.svn/text-base/PaulWell.png.svn-base
  106. BIN static/.svn/text-base/PhilipIsohe.png.svn-base
  107. +338 −0 static/.svn/text-base/RAIN-sensors.js.svn-base
  108. BIN static/.svn/text-base/RachelZimmerman.jpg.svn-base
  109. BIN static/.svn/text-base/RichardOkomb.png.svn-base
  110. BIN static/.svn/text-base/RobertMburu.png.svn-base
  111. BIN static/.svn/text-base/SimonKimani.png.svn-base
  112. BIN static/.svn/text-base/SusanAkinyi.png.svn-base
  113. BIN static/.svn/text-base/TalkingBook.jpg.svn-base
  114. BIN static/.svn/text-base/TerraWeikel.png.svn-base
  115. BIN static/.svn/text-base/ThomasEdison.jpg.svn-base
  116. BIN static/.svn/text-base/ThomasOdhiambo.jpg.svn-base
  117. BIN static/.svn/text-base/UniqueEco.jpg.svn-base
  118. BIN static/.svn/text-base/WilsonMasaka.png.svn-base
  119. BIN static/.svn/text-base/adam_holt.JPG.svn-base
  120. BIN static/.svn/text-base/addstuff.png.svn-base
  121. BIN static/.svn/text-base/bg_submit-report.png.svn-base
  122. +34 −0 static/.svn/text-base/bingtest.html.svn-base
  123. BIN static/.svn/text-base/blank.png.svn-base
  124. +123 −0 static/.svn/text-base/bookmarklet-boats.js.svn-base
  125. +94 −0 static/.svn/text-base/bookmarklet-population.js.svn-base
  126. +44 −0 static/.svn/text-base/bookmarklet-test.js.svn-base
  127. +89 −0 static/.svn/text-base/bookmarklet-time.js.svn-base
  128. +114 −0 static/.svn/text-base/bookmarklet-travel-us-ca.js.svn-base
  129. +166 −0 static/.svn/text-base/bookmarklet-traveltime.js.svn-base
  130. +86 −0 static/.svn/text-base/bookmarklet-walpha.js.svn-base
  131. BIN static/.svn/text-base/cc-by.jpg.svn-base
  132. BIN static/.svn/text-base/cluster-icon.gif.svn-base
  133. BIN static/.svn/text-base/cluster-icon.jpg.svn-base
  134. BIN static/.svn/text-base/cluster-icon.png.svn-base
  135. +54 −0 static/.svn/text-base/contact.html.svn-base
  136. +2,015 −0 static/.svn/text-base/crowdmap-default.css.svn-base
  137. +129 −0 static/.svn/text-base/crowdpage.html.svn-base
  138. +924 −0 static/.svn/text-base/excanvas.js.svn-base
  139. BIN static/.svn/text-base/favicon.ico.svn-base
  140. +1,297 −0 static/.svn/text-base/fb-test.html.svn-base
  141. +203 −0 static/.svn/text-base/fd.xml.svn-base
  142. +204 −0 static/.svn/text-base/frontpage.html.svn-base
  143. +342 −0 static/.svn/text-base/greencrisis.js.svn-base
  144. +112 −0 static/.svn/text-base/haitiLocal.html.svn-base
  145. +23 −0 static/.svn/text-base/kickstart-google.html.svn-base
  146. BIN static/.svn/text-base/kobe_chouest.jpg.svn-base
  147. BIN static/.svn/text-base/library.png.svn-base
  148. +1,572 −0 static/.svn/text-base/map-clusters.html.svn-base
  149. +1,561 −0 static/.svn/text-base/map-es.html.svn-base
  150. +43 −0 static/.svn/text-base/mapmeldMenus.js.svn-base
  151. +84 −0 static/.svn/text-base/mapmeldStyles.css.svn-base
  152. +227 −0 static/.svn/text-base/mappage.html.svn-base
  153. BIN static/.svn/text-base/mark_burnett.jpg.svn-base
  154. BIN static/.svn/text-base/moreMenu.png.svn-base
  155. +1,389 −0 static/.svn/text-base/next-test.html.svn-base
  156. +184 −0 static/.svn/text-base/olpcmap-community.html.svn-base
  157. BIN static/.svn/text-base/olpcmap-logo.png.svn-base
  158. +1,631 −0 static/.svn/text-base/openlayers-map.html.svn-base
  159. BIN static/.svn/text-base/plusIcon.gif.svn-base
  160. BIN static/.svn/text-base/rweteera.jpg.svn-base
  161. BIN static/.svn/text-base/selfpump.jpg.svn-base
  162. +1,298 −0 static/.svn/text-base/socialtest.html.svn-base
  163. BIN static/.svn/text-base/staticmap.jpg.svn-base
  164. BIN static/.svn/text-base/staticmap.png.svn-base
  165. BIN static/.svn/text-base/submit-incident.jpg.svn-base
  166. +1,390 −0 static/.svn/text-base/tags-test.html.svn-base
  167. +99 −0 static/.svn/text-base/terra.css.svn-base
  168. +406 −0 static/.svn/text-base/themeroller.css.svn-base
  169. +145 −0 static/.svn/text-base/ushahidiMapCanvas.js.svn-base
  170. +6 −0 static/.svn/text-base/xd_receiver.htm.svn-base
  171. BIN static/.svn/text-base/xo-brown.png.svn-base
  172. BIN static/.svn/text-base/xo-red-search.png.svn-base
  173. BIN static/.svn/text-base/xo-red.png.svn-base
  174. BIN static/.svn/text-base/xo-yellow.png.svn-base
  175. BIN static/.svn/text-base/zMinus.png.svn-base
  176. BIN static/.svn/text-base/zPlus.png.svn-base
  177. BIN static/AbkulOrto.png
  178. BIN static/AlexOdundo.png
  179. BIN static/AndrewOtieno.png
  180. BIN static/BernardCheruiyot.png
  181. BIN static/CarolineMbulwa.png
  182. BIN static/ChikaOkafor.png
  183. BIN static/ChristiaanBarnard.jpg
  184. BIN static/CyrusKabiru.jpg
  185. BIN static/DennisMuraguri.png
  186. BIN static/DicksonUkanga.png
  187. BIN static/ElizabethOtieno.png
  188. BIN static/GeorgeWashingtonCarver.jpg
  189. BIN static/Greensmall1.png
  190. BIN static/HanselOmondi.png
  191. BIN static/HenryFord.jpg
  192. BIN static/JacksonMwago.png
  193. BIN static/JesseGichini.png
  194. BIN static/JulieEvelien.png
  195. BIN static/KamanziGloria.png
  196. BIN static/KimNooij.png
  197. BIN static/MakerFaireArtists3.jpg
  198. BIN static/MakerFaireDrums1.jpg
  199. +21 −0 static/MediaMarker.js
  200. BIN static/MichaelOyango.png
  201. +259 −0 static/MobileTest.html
  202. +495 −0 static/OpenLayersStatic.js
  203. BIN static/PatrickKaraini.png
  204. BIN static/PatrickThuita.png
  205. BIN static/PaulWell.png
  206. BIN static/PhilipIsohe.png
  207. +338 −0 static/RAIN-sensors.js
  208. BIN static/RachelZimmerman.jpg
  209. BIN static/RichardOkomb.png
  210. BIN static/RobertMburu.png
  211. BIN static/SimonKimani.png
  212. BIN static/SusanAkinyi.png
  213. BIN static/TalkingBook.jpg
  214. BIN static/TerraWeikel.png
  215. BIN static/ThomasEdison.jpg
  216. BIN static/ThomasOdhiambo.jpg
  217. BIN static/UniqueEco.jpg
  218. BIN static/WilsonMasaka.png
  219. BIN static/adam_holt.JPG
  220. BIN static/addstuff.png
  221. +167 −0 static/ajaxMap.html
  222. BIN static/bg_submit-report.png
  223. +34 −0 static/bingtest.html
  224. BIN static/blank.png
  225. +123 −0 static/bookmarklet-boats.js
  226. +94 −0 static/bookmarklet-population.js
  227. +44 −0 static/bookmarklet-test.js
  228. +89 −0 static/bookmarklet-time.js
  229. +114 −0 static/bookmarklet-travel-us-ca.js
  230. +166 −0 static/bookmarklet-traveltime.js
  231. +86 −0 static/bookmarklet-walpha.js
  232. BIN static/cc-by.jpg
  233. BIN static/cluster-icon.gif
  234. BIN static/cluster-icon.jpg
  235. BIN static/cluster-icon.png
  236. +54 −0 static/contact.html
  237. +2,015 −0 static/crowdmap-default.css
  238. +129 −0 static/crowdpage.html
  239. +924 −0 static/excanvas.js
  240. BIN static/favicon.ico
  241. +1,297 −0 static/fb-test.html
  242. +203 −0 static/fd.xml
  243. +204 −0 static/frontpage.html
  244. +342 −0 static/greencrisis.js
  245. +112 −0 static/haitiLocal.html
  246. +23 −0 static/kickstart-google.html
  247. BIN static/kobe_chouest.jpg
  248. BIN static/library.png
  249. +1,572 −0 static/map-clusters.html
  250. +1,561 −0 static/map-es.html
  251. +43 −0 static/mapmeldMenus.js
  252. +84 −0 static/mapmeldStyles.css
  253. +227 −0 static/mappage.html
  254. BIN static/mark_burnett.jpg
  255. BIN static/moreMenu.png
  256. +1,389 −0 static/next-test.html
  257. +184 −0 static/olpcmap-community.html
  258. BIN static/olpcmap-logo.png
  259. +1,631 −0 static/openlayers-map.html
  260. BIN static/plusIcon.gif
  261. BIN static/rweteera.jpg
  262. BIN static/selfpump.jpg
  263. +1,298 −0 static/socialtest.html
  264. BIN static/staticmap.jpg
  265. BIN static/staticmap.png
  266. BIN static/submit-incident.jpg
  267. +1,390 −0 static/tags-test.html
  268. +99 −0 static/terra.css
  269. +406 −0 static/themeroller.css
  270. +145 −0 static/ushahidiMapCanvas.js
  271. +6 −0 static/xd_receiver.htm
  272. BIN static/xo-brown.png
  273. BIN static/xo-red-search.png
  274. BIN static/xo-red.png
  275. BIN static/xo-yellow.png
  276. BIN static/zMinus.png
  277. BIN static/zPlus.png
  278. +117 −0 util.py
  279. +47 −0 util_test.py
@@ -0,0 +1,57 @@
+application: mapmeld
+version: 1
+runtime: python
+api_version: 1
+
+handlers:
+- url: /_ah/login_required
+ script: do_openid_login.py
+
+- url: /about.*
+ script: homepage.py
+
+- url: /query.*
+ script: homepage.py
+
+- url: /olpcMAPolpc/news.*
+ script: mapPage.py
+
+- url: /olpcMAPolpc/geonews.*
+ script: mapPage.py
+
+- url: /feed.*
+ script: homepage.py
+
+- url: /call.*
+ script: phone.py
+
+- url: /sms.*
+ script: phone.py
+
+- url: /saved.*
+ script: phone.py
+
+- url: /plugins.*
+ script: homepage.py
+
+- url: /facebook_io.*
+ script: ushahidi_facebook_io.py
+
+- url: /(.*\.(gif|png|jpg|ico|js|html|rb|css|txt|xml|json|svg|xo|zip|kml|py|kmz|xol|htm|JPG))
+ static_files: static/\1
+ upload: static/(.*\.(gif|png|jpg|ico|js|html|rb|css|txt|xml|json|svg|xo|zip|kml|py|kmz|xol|htm|JPG))
+
+- url: /olpcMAPolpc/home.*
+ script: mapPage.py
+
+- url: /olpcMAPolpc/page.*
+ script: mapPage.py
+
+- url: /olpc.*
+ script: olpcmap.py
+
+- url: /greencrisis.*
+ script: greencrisis.py
+
+- url: /.*
+ script: homepage.py
@@ -0,0 +1,8 @@
+cron:
+- description: 220 oldest data points into memcache
+ url: /olpcMAP/oldest
+ schedule: every 2 hours
+
+- description: 220 newest data points into memcache
+ url: /olpcMAP/newest
+ schedule: every 2 hours
Oops, something went wrong.

0 comments on commit 5cbcc25

Please sign in to comment.