Starting to Map Tandale
Posted: August 12th, 2011 | Author: mikel | Filed under: tandale | Leave a comment »We began a new project this week in the informal settlement of Tandale, Dar es Salaam, Tanzania. Mark Iliffe is leading the effort there for GroundTruth; this is his introduction to mapping Tandale, crossposted from his blog.
The area being mapped is the civic ward of Tandale in Dar Es Salaam, Tanzania. About 50,000 people live in Tandale, of those 50,000 a small number will represent their community and map it. These community members will be aided by university students studying urban planning at the Ardhi University in Dar Es Salaam.
We also have a mapper from Mathare in Kenya, Simon Kokoyo. Simon helps write the brilliant blog Mathare Valley telling stories from the community. Currently the internal debate revolves around sorting deliverables for the project. More specifically what sort of technology should be used? Given access and proficiency with technology is lower compared to Kenya we do not want to use something that complicates matters; therefore the possibility of the community using the technology afterwards would be diminished. This would be a very bad thing.
We’re planning to use Ushahidi for storytelling and reporting and possibly WordPress for blogging. Making a street level map is one thing, however as the eventual aim is community development and improvement. To do this stories about the issues faced by residents on a daily basis needs to be made public. These will be along themes decided by the community at community forum, however the themes of water, sanitation, health and education have already been floated and would be starting points for any discussion.
The key output is a community produced (and then community curated through OSM) map, sustainability and continuation of the project after we have left is important. Due to this all the equipment used for the project like cameras, laptops and gps’ will be left to the Tandale community. The City Council is also aware of the project, in effect giving it their blessing though aren’t directly involved.
We are the beginning of the project at the end of our time we hope that the community will take forth the ideas of community mapping and storytelling. Using these skills hopefully they will better understand their own environment, making the unseen, seen.
Written and submitted in the World Bank Offices, Dar Es Salaam, Tanzania (-6.81298, 39.29194)
Opening Data in Kenya. My Method is to Hack.
Posted: August 9th, 2011 | Author: mikel | Filed under: kenya, tech | 2 Comments »A techy cross-post from Brain Off
There’s good reason to join the excitement about Open Data in Kenya. As Tariq says on the World Bank blog
Open data in Kenya is special: it comes at a time of national change; it’s got a head start on tools and expertise from the global open data community and it’s happening in a country where the information ecosystem is still maturing.
I’m proud that our work with Map Kibera has any relation to this at all. And it’s certainly due to the hard work of passionate people, in a tough environment, especially Dr. Bitange Ndemo (if you have the time, Dr. Ndemo’s talk at the World Bank is recommended).
Now that the launch has subsided, and I have a spare moment in the air from Tanzania, I want to look in depth at what data and how data has been released on OpenDataKE, the means of working with the data and collaborating on the data, and how this resource can relate to other open data sets in Kenyan society. Now that the government has made a bold move, I think it’s the responsibility of the software development community and civil society to really step up and test out the data, and suggest how this can become a really vibrant and social resource. Again, Tariq says this succinctly
the call for open data should go hand in hand with a call for better quality data: data that might be collected by official government agencies or in this age, by citizens themselves.
Transect across data
My “method” is to hack. I want to make an interesting simple visualization with some data from OpenDataKE, focusing on Nairobi, using openly available tools. Browsing data sets, the Population Density per Constiuency, derived from the 2009 census, seemed promising. The difference in density across the urban landscape Nairobi is extreme. For a sense of it, just look at the density of features in OpenStreetMap in the map of the slum of Mathare compared to nearby leafy Mathaiga. And to help the hack, the population density data set even has a handy location column.
Or maybe not. The usual practice in tabular data is to split the latitude and longitude into two columns, but here both values are formatted along with the unnecessary name of the province in which the constituency is located. Anyone who has had to work with data is used to little problems like this, and it’s easy enough (for a programmer) to write a quick script to clean this up. So I selected Export to CSV (side note, the other options presented by the platform seem hardly useful), filtered just the constituencies in Nairobi, and cleaned it up just by hand (I was too lazy to script this for just a handful of values).
Gaps and Errors
I uploaded the CSV to GeoCommons, which has facility to deal with many formats of data and easily layer together interactive maps, and was surprised to see that several points weren’t placed in Nairobi at all. Turns out there’s several errors in the location column, at least in Nairobi, and possibly in the rest of the country (I didn’t check). I’d have to correct these by hand. My knowledge of the location and extent of the constituencies is limited, so I needed another source, and that is not something you can find on OpenDataKE. It took some searching until I found scanned maps of contituencies on the Mars Group site. An overview map of all the constituencies was missing, so I used the adjacent constituency names in order to place the mistaken ones.
This worked well, but I’m left with questions. Why isn’t constituency boundary data available on OpenDataKE? How did Mars Group get these maps? And now that I’ve gone to the bother of correcting this data set, how can I contribute the changes back, or at least alert the holders of the data to the errors? There is a nomination section on OpenDataKE, which was wonderfully active until July 9, and then went quiet (did Socrata’s support contract expire then?). Anyway, I’m hopeful these will start getting attention again, so I’ve submitted two requests (pending approval to post), one for constiuency boundaries, and another for a way to correct the location column in the population density data set.
My second surprise was that when I made the annotation size relative to the population density, I didn’t see a big difference among the constituencies. The area where Kibera is located, Langata, is about the same density as Westlands, and both are less than CBD and Eastlands. What’s happening here is that constituencies aren’t aligned to uniform urban settlement patterns. Langata, the home constiuency of the Prime Minister, includes both the slum of Kibera and the wealthy and sparse suburb of Karen. A more useful and telling metric would be population density per Ward, the sub-unit of constituency which does have fairly good alignment to settlement patterns. The census can and has been aggregated to this level, because there was a large promotion of the census count of population in Kibera.
So again I’ve nominated a data set, for the population density aggregated at ward level. And I’ve also made a request for meta-information on the methodology of the census in Kibera and other informal settlements. While the 170,000 figure is surely more close to reality than the wild 1 million figures of the past, by comparing that number with estimates derived from other methods there is a discripency; the others agree on an average closer to 250,000. Additionally, and admittedly anecdotedly, many people in Kibera say they and their neighbors were never counted. Now this happens in any census, and it does not deligitimize the census, but in order to interpret data, openness on the methodology of data collection and analysis is also necessary.
The Civil Society of Data
Open government data exists in a wider ecosystem. Just a few months ago, Columbia University released amazing data sets of Nairobi, including high detail land use under open knowledge licenses. A truly beautiful and informative data set. Another place to find many a Kenyan civil society data set is Virtual Kenya. I thought the population density dataset would be interesting to layer with land use.
This data is distributed as Shapefiles, and I need tiles to use a base map. This is the purpose of MapBox, a rapidly developing tool set to make it easy to build beautiful map tiles. I loaded the Shapefiles in my locally running TileMill, styled the landuse categories based on Columbia’s pdf using carto, assigned interaction, and exported as mbtiles. These were dropbox’d, and posted to TileStream, as this map.
Mouseover or click on the map to get more detail about each parcel. This interaction technique is really interesting (as a geek), it’s entirely javascript and lightweight in the browser; it still has a few rough edges, but overall, a nice experience. There are limits, like TileMill doesn’t work with CSV, or permit multiple interactive layers, but it’s a great work in progress. Thanks to DevSeed for the TileStream account, and Dane Springmeyer, who spent some time with me hacking and bug hunting the interaction features of mapnik.
Like the OpenDataKE data set, and actually all data sets, there are errors … there is no such thing as a perfect map. The Ethiopian Church, across from YaYa, is not indicated nor is its land zoned as “public use” as other church lands in Nairobi are. And the Sarakasi Dome, home of our yoga practice in Nairobi, is not shown a unified plot at all. Now Columbia makes their contact information known on the site, and I’ve met them personally, so feedback here is direct over email, but I wonder from here … what is the method and intention to continually correct, update and discuss these data sets? Does it need to?
Of course, that is the primary approach of OpenStreetMap … geographic data in a wiki, that gets constantly examined, updated, and discussed, completely openly. OpenStreetMap can provide another overlay, so we can have some roads and points of reference for the final map. So on GeoCommons, I configured the tiles from the land use data on TileMill (this required some hidden configuration of the tile scheme), composited over semi-transparent OSM data (provided by GeoCommons through Acetate), and then finally, the population density points. This is the result for now of the data transect.
I hope I can improve this. You’ll see that the OSM streets don’t overlay precisely with land use. This I believe, but haven’t confirmed, to be the result of a project error in the Land Use data set. And an even better representation of the population density would have been a geo-join with area boundaries, had they been available. This would clearly show a thematic variation of population density. And of course, finer grained detail will be required to fulfill the original intention to show Nairobi’s vast differences in population density.
Where have we gone
Government data sets, authoratative civil society data sets, and completely crowd sourced data sets, layerd together in a single map, revealing a little more about Nairobi, and about the data itself. Each is collected, distributed, and updated in different methods. In some ways, I feel OSM leads the wild edge here of what’s possible, and what we want: a truly social environment for data. Data without community is data dry and unimportant. Of course, I’m not saying OSM is the final repository for all data: OSM doesn’t deal with demographic and private data of a census, and the methods to authoritatively certify versions of OSM data are just starting. But this hasn’t stopped several kinds of OSM and government interaction already beyond the “traditional” import, with the likes of Portland and the USGS interacting with the OSM community.
The ultimate promise of all this OpenDataKE is not necessarily in the data itself, but in the deep and wide serving conversations openness triggers. My own personal metric for this will be when government officials from OpenDataKE and slum dwellers from Kibera and Mathare (and Mukuru) openly collaborate and work together. Can’t wait to see this happen. To get there, I challenge you too … get geeky with some data and write about it!
Jerusalem, Moving the Ladder
Posted: July 31st, 2011 | Author: mikel | Filed under: jerusalem | Leave a comment »After 4 weeks, we’re leaving Jerusalem. The finest puzzle of human passion, and passion beyond, resting solidly and unsteadily on 5000 years or so of accumulated white stone and dirt. The most complicated and absurd and somehow, sometimes wonderful city. Our host Micha Kurz of Grassroots Jerusalem warned us that 4 weeks would be just enough to just begin understanding Jerusalem. In fact, it’s only enough time for the city to get a healthy grip on you so that you really don’t want to leave. And it’s definitely not enough time to come up for air for any writing and reflection … hopefully now I have a little space, on my trip back down to Dar es Salaam, the other end from here of the Great Rift Valley, where in complete contrast, the biggest conflict is that there might, maybe, be another political party in a couple years.
There is a ladder resting on the front balcony of the Chuch of the Holy Sepluchure. Centuries of delicate negotiation guide how priests and monks of various sects of Christianity move throughout the twisting bizarre space that might possibly be the site of the crucifixion of Jesus. No set of rules for behavior are comprehensive enough to cover every situation, and you hope you have good faith enough for dialogue when the loopholes come up. Not so here, where no one knows which sect originally placed the ladder, so they all refuse to move it. In the middle of all this, hoards of Russian pilgrims take pouty glamour shots in front of what might possibly be the site of a great suffering of Jesus. Thank you for the absurdity and the warning, that ladder should be the symbol of the city.
Remember this is also the country where there is meticulous debate on automated milking of cows on Shabbat.
Jerusalem is a place where they play excellent music in the streets on Friday, and no one notices a soldier dancing with a machine gun. In Silwan, down the slopes of the Old City, young men ride horses through streets defiantly kept 2-way as it has been for thousands of years, and gallop against slowly trudging tourist buses making their way to the City of David, where archeological diggings expose Biblical history, and expose too much of the present day, with houses and mosques collapsing above the excavations. Kites flew above all of this, capturing the view from cameras. In one day, you can rave off Jaffa Street, visit the birthplace of Jesus (grottos!), have a lovely fish dinner in the shadow of the security wall (thankfully just mapped, else we would’ve missed it), be told “have a nice day!” by a teenage soldier at an eerily deserted checkpoint, share a taxi with two Ethiopian priests in town from Dublin, and night cap it with a bottle of Brooklyn Lager. And check which beer your drink, cause drinking Taybeh vs Goldstar might be partisan (or wearing your hair a certain way, or the length of your skirt). Weekends are so confusing in Jerusalem! With 3 religions and 3 different holy days, it depends what side of town you’re on. Not recommended to go back and forth more than once between East and West Jerusalem in the course of one day, your mind will not be able to take such different worlds living in one city. You can hear Rock the Casbah performed in Arabic, and have multiple two hour discussions on the name of Jerusalem in OpenStreetMap.
Through it all, there has been such a strong reaffirmation of the mission of GroundTruth. With layers apon layers of history, of too much subtlety of meaning, of confusion, of deadly conflict, seems like the only possible response is coming to some reckoning and witness to it all, to see the change over time, to let everyone speak up about the reality of their lives. Let’s map Jerusalem. Let’s let people expose their regular humaness, carefully pace ourselves through the bullshit and maybe just find some small piece of reason. On Micha’s tour around Jerusalem, we saw an ancient city transformed yet again at the founding of Israel in 1948, and after 1967, the Green Line is now the smoothest highway through town. The municipal boundary of Jerusalem slices through old villages, envelopes completely new ones, and the security wall takes yet another course, and pressing close is the Areas ABC of the Oslo Accords. It hardly makes sense even if you understand it, and by showing what it’s like right on a piece of ground you may never visit otherwise, perhaps finally some understanding will happen.
We have at least 3 more posts to talk about the experience with the amazing Grassroots Jerusalem, who cut their chops mapping the Salah ad Din shopping district, and passed it on to al Walaja a small and inspiring village, which has a piece of just about everything complicated in Israel and Palestine including a completely encircling section of the wall, and it’s all being wrapped up in a potent brew of technology and training inspired by a slum in East Africa.
NYC!
Posted: April 18th, 2011 | Author: mikel | Filed under: events, talks | Leave a comment »Our final lap! If you’re in NYC, hope to see you at one of these events. Or get in touch for us to meet up.
- On Tuesday, April 19, 1pm, we’re presenting a Columbia School of International and Public Affairs. Room 411, International Affairs Building uni map osm.
- Later that evening, we’re going to attend the groan inducing pun but cool people attending, ICT4Drinks.
- On Thursday, a “Greenbag” talk at CIESIN, on the Lamont-Doherty Campus, room 207 Geoscience Building. (Here’s the shuttle bus info, I’m taking the 11am)
- Next Tuesday, taking part in a panel on the Disaster Response 2.0 report at the US Mission to the United Nations
Boston!
Posted: April 7th, 2011 | Author: mikel | Filed under: events, talks | Leave a comment »We’ll be in Boston next week! Giving talks and connecting with heroes. We’re updating on all things Map Kibera, our reflections on the past year, and opening doors for what’s next with GroundTruth. If you’re in Boston, gives us a shout!
- Tuesday afternoon we’re at Tufts Fletcher School for a lecture, followed by a mapping party with the crisis mapping class. This lecture is open to outside attendees, I think, so let us know if you want details.
- Wednesday afternoon we’re talking with fellows and staff at the Berkman Center.
- Thursday afternoon we’re at the MIT Center for Future Civic Media.
- Friday evening taking part in the disaster simulation with HHI’s Humanitarian Studies Course.
Abstract for the talks…
Mikel Maron and Erica Hagen, founders of Map Kibera and GroundTruth Initiative, will present their work in Kenya with Map Kibera, featuring digital mapping using OpenStreetMap, citizen video journalism and SMS-based reporting in the Kibera and Mathare slums. They will also discuss recent work in Haiti and ongoing research on participatory development and technology with the Institute for Development Studies. Particular focus will be on the challenges inherent in community-level participatory technology and media work.
After Boston, back down to NYC, details in development.