Pull out the location field from OKFN member profiles, geolocate them and then plot them on a map.

submitted 08 Apr '11, 21:24

rgrp's gravatar image

rgrp ♦♦
accept rate: 45%

A basic version of this is now done (much still to improve -- see README in source):


Source code here:



solved 22 Apr '11, 09:41

rgrp's gravatar image

rgrp ♦♦
accept rate: 45%

repo moved to: https://github.com/okfn/okfn-dashboard

(24 Oct '11, 10:45) elf Pavlik

Is there any kind of API for accessing member profiles?


solved 13 Apr '11, 05:29

Mike%20Chelen's gravatar image

Mike Chelen
accept rate: 0%

Not as far as I can tell (I've looked into buddypress and there does not appear to be an API). I guess we could just scrape the data. If I can get you the data in JSON can you create a geomap in javascript?

(20 Apr '11, 19:35) rgrp ♦♦

Update: I've done a hack to get the data out of the source wordpress database and convert to json so we are on our way!

(22 Apr '11, 08:49) rgrp ♦♦

hmm. Guess I should've set my location to 'London' not 'London UK' :-D

(29 Nov '11, 10:51) Harry Wood

@Harry: London, UK should be no problem. We use geonames to do the geolocation from names and it is ok with commas but not spaces. Code is here https://github.com/okfn/dashboard/blob/master/scripts/members.py#L61 -- improvements welcome!

(30 Nov '11, 19:10) rgrp ♦♦
Your response
toggle preview

Follow this question

By Email:

<span class='strong'>Here</span> (once you log in) you will be able to sign up for periodic email updates about this idea.



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 08 Apr '11, 21:24

Seen: 1,017 times

Last updated: 30 Nov '11, 19:10

powered by OSQA