avatarArticles by Robert Cheetham

Tyreek Elam’s Account of His Summer Internship with Azavea

Project H.O.M.E‘s mission is to empower people to break the cycle of homelessness.  As part of their numerous educational and professional development programs is the John and Sheila Connors Youth Employment Program.  Every summer, along with offering academic workshops and professional development classes, Project H.O.M.E places students into local businesses and city agencies for six-week, 20-hour per week internships.  At these positions, students are exposed to business practices and professional activities they might not have otherwise.  It is in this context that Azavea welcomed Tyreek Elam into our Philadelphia office this summer.

Why?  One of our core principles is to do work that is meaningful and encourages positive changes in the communities our clients serve.  Welcoming Tyreek amongst us seemed like a tangible and meaningful, albeit small, way to make a positive impact in the life of someone from our community.  During one of our Management Team meetings, I presented the idea and we all voted unanimously that Tyreek should join us for his internship.  This is his account of his stay with us.  It is my hope Tyreek will remain in touch with us.  We all wish him the best as he prepares to apply to college and develops his professional career.

“Though I was only here for six weeks, these six weeks were some of the most wonderful six weeks, I have had in my entire life.  My internship with Azavea was amazing, everyone in the office was kind, helping, and just plain, awesome.  I have never seen a place so vibrant, everyone is almost always busy working with something but when you go and ask them something there is never a bad atmosphere about them.  Each week I was assigned a different team and a different assignment, and as a result more insight on what Azavea had to offer.

The first week I worked with the Law Enforcement team, consisting of Bennet, Jeremy, and Kenny, as a beta tester, using a demo of their HunchLab product to find any problems or bugs in the software.  I greatly enjoyed the application as well as the way they explained things to me.  HunchLab is a web-based geographic crime visualization, early warning, and risk forecasting software.  HunchLab and the team developing it were so great that at the end of the week I reluctantly had to go.

But the fun did not stop there, the next week was the Cicero team, with Abby, Andrew, and Daniel.  During my week with Cicero, which is an address-based legislative district matching and elected official look up web API, I gathered and entered data about previous elections for various countries.  That was definitely a challenge, an interesting challenge, considering how little is known about a lot of old elections for a lot of countries.

The next week I was placed with the PhillyHistory / Sajara team, which consists of Deborah and CarissaPhillyHistory.org offers a geographic search, mapping and display of historic assets in Philadelphia.  This was also one of my favorite weeks because I really enjoyed surfing through all the historic photos they had of the city I live in.  The entire week was spent with me going through the pictures and recording data, but the pictures I saw made me feel closer to Philadelphia.

The next week I worked with the DecisionTree team helping them install Ubuntu, which was awesome and gave me a feel for Ubuntu and an OS other than the Windows or Mac OS X.   I really enjoyed how TamaraJosh and Erik, let me get a feel for the software and the OS on my own but were there to help me when I stumbled or, was stuck.

My last week, I was with the Land Records team and worked on their PWD Stormwater Billing Application.  Though I knew very little about the application it was still fun.  I was assigned with the task to find ways to break or hack the web app so they could fix it.  Matthew and Justin were extremely helpful when it came to parts of software that I found that did not work or had some bugs.

Overall my time here at Azavea was a great one and I wish I could do it again.  Everyone was approachable and reasonable, but I would like to personally thank Ms. Rachel, because my stay there was twice as wonderful because of her.  She always made sure I had what I needed, if I needed more of anything, if I was making out okay, and if there was ever anything that she herself could not help me with she tried hard to find someone that could.” – Tyreek Elam

Azavea Supports Public Redistricting Competition in Philadelphia

DistrictBuilder LogoI’m excited to announce that this week we rolled out a new implementation of the DistrictBuilder software for our home town, Philadelphia.  The new web site, FixPhillyDistricts.com, is the result of a collaborative effort between several local organizations:  WHYY NewsWorks, the Philadelphia Daily News, Philly.com , Penn Project for Civic Engagement, and Azavea.  While the DistrictBuilder software has been used to support competitions in Virginia and Arizona, Fix Philly Districts will be the first time it’s being used for a municipal public redistricting competition.

This isn’t a typical Azavea project: there is no funding to support it – all of the partners are doing the work pro bono; and while our Cicero API and the work we’ve done on DistrictBuilder is clearly engaged with the geographic elements of the democratic process, Azavea does not usually wade into the actual scrum of politics.

Fix Philly Districts Home Page

So, why get involved?  In 2006, using our Cicero database of global legislative districts, Azavea released the results of an internal research project on legislative district compactness in the form of a Gerrymandering White Paper.  In 2010 we released a revised version of the research, this time in the context of the 2010 Census and the 2011 redistricting process.  Both studies revealed that Azavea’s home town, Philadelphia, has some of the most contorted local council districts in the United States. We want to leverage the DistrictBuilder software we’ve been creating over the past year to make a contribution toward changing this poor showing.

In Philadelphia, the redistricting process is controlled by City Council.  We believe that the best government is one in which citizens are engaged in the democratic process, and drawing the lines that determine how our representatives will be elected is a critical part of this process.  We have created FixPhillyDistricts.com to both enable the public to learn about redistricting and to encourage public engagement in the process.  The effort is also meant to demonstrate that an open, public process based upon objective criteria can produce fair, legal council districts in Philadelphia.

How can you help?  Take a few minutes to visit FixPhillyDistricts.com.  From there you can do two things: 1) you can create an account and draw a Philadelphia City Council district plan (even if you don’t live in Philadelphia); and  2) using the social media buttons available on the site, help the Fix Philly Districts partners tell other civic-minded organizations, researchers, and members of the public that web-based, collaborative and public redistricting is a reality that can be implemented in other cities, counties, and states.  Together, we can redraw the map on redistricting.

Key Dates for Fix Philly Districts Competition

  • Wed, August 3, 2011 – Competition Opened
  • Mon, August 8, 2011, 7pm – Public Workshop at WHYY – 150 N 6th St – RSVP to 215-898-1112 or LindaBre@gse.upenn.edu
  • Thurs, August 11, 2011, 6:30pm – DistrictBuilder Training Webinar – Register
  • Sun, August 28, 2011, 11:59pm – Competition Ends
  • Early September (TBD) – Winners Announced

More about Fix Philly Districts

We are really encouraged by the amount of press coverage the project has already received. You can see a roundup of local coverage in the Azavea News Room.

More about DistrictBuilder

DistrictBuilder, the software that powers the Fix Philly Districts site, was developed in collaboration with leading redistricting experts at the Public Mapping Project.  It is open source, which means that the software is transparent and available to anyone to build their own redistricting web site. Azavea folks are also available should you be interested in an online redistricting project in your area. In collaboration with the Public Mapping Project, we will be continuing to add new features and capabilities over the next several months.

Brown Bag Lunches at Azavea

There are a number of elements to Azavea’s staff research program, including:

  • 10% time for personal research projects, training or open source projects
  • Pro bono spatial analysis mini-projects for non-profit organziations
  • Quarterly R&D social
  • Monthly R&D code sprint day
  • Monthly brown bag lunches

While we have had the 10% research program for several years, some staff found it difficult to carve out the time to work on research projects.  So last fall, we started setting aside one day a month where there is both explicit social permission and peer pressure to invest in research projects.  We also align this day with our long-running Brown Bag Lunch events.

The day starts with a stand-up meeting attended by the whole company.  Each person with a research project says a brief word on what their goals are for the day.  Robert then provides a summary of major accomplishments for the past month and priorities for the coming month.  Around noon, food arrives and we gather to listen to a lunch-time speaker.  Brown bag lunches are an opportunity for either an Azavea colleague to talk about a personal project they are developing outside of work or to invite someone from outside the company to talk about a project about which they are passionate.  These presentations have included an incredible range of folks including:

Azavea will be blogging about these monthly events beginning with a summary of our March presentation by Thaddeus Squire of CultureWorks Greater Philadelphia.  Stay tuned.

OpenDataPhilly.org Launches Today

OpenDataPhilly.org logoI’m excited to announce that we rolled out a new open data portal for the Philadelphia region today, OpenDataPhilly.org. Open data and government transparency have been increasingly visible concerns over the past few years. The City of Philadelphia was once a leader in this respect. The municipal government made its GIS data available to the public at no charge almost 10 years ago, and, at the time, was one of the first and largest municipalities in the world to do so. In order to do this, City staff worked through a number of challenging issues that included liability, homeland security and development of a common standard and process for vetting and releasing new data sets. That data has been available on PASDA, the state spatial data clearinghouse for Pennsylvania, ever since.

In the past few years, many municipal governments have been making a public and concerted effort to improve the transparency of their government operations by releasing significant and useful data sets. Washington DC deserves credit for playing a leadership role in this respect. DC was arguably the first major city to not only release downloadable data sets but create real-time streams of data from operational databases. Today the District provides access to 475 datasets from multiple agencies and in a variety of formats, CSV, RSS, KML, XML and shapefiles. In 2008, they doubled-down. To increase exposure and expand usage, the government sponsored a contest, Apps for Democracy, to encourage software developers to create useful applications that consumed this data. The leader of that effort, Vivek Kundra went on to become CIO under President Obama. In May 2009, the federal government launched Data.gov with just 47 data sets. Today there are 380,000 data sets (of which more than 376,000 are geospatial).

Many other cities have followed suit. A few of the most significant include:

And other organizations are getting into the act. The UK launched data.gov.uk in January 2010. The World Bank not only has a great data site, they’ve also sponsored a contest to encourage the development of new applications that use that data. The FCC has an open data site as well as a set of developer APIs. And the app contests have become sufficiently numerous that they are even starting to feel passé.

Philadelphia has been missing from the list. While the City was an early and unsung leader 10 years ago for releasing its GIS data, these recent efforts by other governments have left it far behind. There is no Philadelphia Open Data web site. But there are a lot of people who want to see that change. A BarCamp in late 2009, RefreshPhilly.org, Philly Startup Leaders, Young Involved Philadelphia and other groups have pushed repeatedly for this type of government transparency through publication of operational data. So why is Azavea building this? Well, we really have Roz Duffy to thank. She encouraged me to get involved with the Open Access Philly task force. I attended my first meeting in January and was impressed by the range and diversity of the people who have been attending these meetings. After the first meeting, I felt like Azavea was actually in a good position to create something that would both serve to bring the various City data sets together in a single catalog as well as extend the catalog to other resources.OpenDataPhilly splash page

While the Open Access Philly task force advocated for an online catalog of data, OpenDataPhilly.org is not a City project. The City government doesn’t have the resources to build something right now. I’m proud that Azavea is building this initial version, but, that said, this is not a typical project for us. That’s good and bad. We don’t build open data portals – we build spatial data analysis and visualization tools. And when I ask my colleagues to work on something that isn’t our main focus, it’s distracting and makes us all less productive. And we are a small company that can only afford to do a certain amount of pro bono work in a given year. And, in the long run, I’m not sure it’s actually a good idea for an open data catalog to be operated by a private firm.

Nonetheless, I felt this was important for a number of reasons. First, I kept hearing other technology people in the region lamenting how we were being left in the dust. That’s sad because there’s actually far more data available than most people realize. Second, much of Azavea’s work depends on open standards and the broad availability of useful data sets. By making it easier to find data, we are supporting the ecosystem that supports our business. Third, I buy into the idea that open government encourages both better government and a more engaged citizenry.

Because Azavea is not the City, OpenDataPhilly.org is different from other open government data portals. We have taken a look at a lot of these web sites, and we’ve done our best to incorporate what we thought were the best parts. But we’ve decided to try some different ideas that we hope will make the catalog more useful. First, the catalog is not limited to data from the municipal government – we have also incorporated data from non-profits, universities and commercial organizations. Second, this catalog is not just about downloadable data sets; we’ve also included data-centric web and mobile applications as well as developer-oriented APIs and other structured data feeds. Third, we realize that data for its own sake is not really all that helpful. To be useful, the data needs to actually be put to use in new applications, visualizations and stories. So the OpenDataPhilly.org site includes an Idea Gallery a feature similar to London’s Inspirational Uses page.

These departures from the usual government-sponsored open data catalog has created opportunities, but it has made our task somewhat more difficult. Since we didn’t limit ourselves to government data sources, we needed to both track down these other data sets and develop a series of guidelines to determine what goes in and what doesn’t. I’m sure we missed a lot, and I don’t know if we got the guidelines right. We also didn’t have a lot of material for the Idea Gallery to start out, so we needed to develop some placeholder material. And, as I mentioned above, in the long run, I’m not sure Azavea is the best home for such a project. I think the best home might be a non-profit organization for which transparency and citizen engagement is part of their mission – perhaps a non-profit news organization or a similar entity.

What’s in it?

As our starting point, we took the extensive set of geospatial data sets that were already available on PASDA. We didn’t limit ourselves to City sources; we also added material from DVRPC, the USGS and other organizations when that data was specific to Philadelphia. We added several data-centric applications deployed at the City as well as some applications developed by local universities that use government data. We also included some of the resources we had discovered while working on a data inventory for the WHYY Newsworks web site last summer. OpenDataPhilly is not only a catalog of existing data sets, applications and APIs, it also includes a series of new geodata APIs that the City has implemented over the last few weeks. So the act of constructing the catalog has inspired the City to release some data sets in a new and useful way. That’s pretty exciting. From our perspective, that means the effort is already a success.

How did we build it?

This is not really a geospatial data application, so our usual tools were not going to be appropriate. Since OpenDataPhilly.org will primarily direct people to other data sets, it doesn’t need a lot of processing power. But we’re going to be maintaining this for at least the next few months, so we needed some simple and straightforward content management features. We settled on the following technology mix:

Why now?

Sometimes it’s good to have a deadline. Today’s rollout was timed to coincide with Philly Tech Week, a week-long celebration of technology and innovation in Philadelphia organized by TechnicallyPhilly. Open data serves as bookends for the week. Azavea is rolling out OpenDataPhilly.org today. On Saturday as part of the BarCamp NewsInnovation at Temple University, Tropo is organizing an Open Government Hackathon. The Hackathon will aim to build new applications that use the data listed in the catalog. We’ll be involved in some other events this week. There’s a full summary in a blog from last week.

Acknowledgments

While the City didn’t pay for the development of OpenDataPhilly, that doesn’t mean they didn’t make important and significant contributions. Jeff Friedman (City OIT) and Paul Wright (Fuzebox) have been organizing the Open Access Philly meetings for more than a year, and these meetings were the catalyst that got us moving. Several staff at the City’s Office of Information Technology, including Stuart Alter, Paul Wright, Jim Querry, Brian Ivey, Walter Svekla and others have supported the OpenDataPhilly rollout and development through both encouragement, suggestions and the hard work required to roll out these new geodata APIs. The vast majority of the data sets are ones to which a legion of City employees and residents have contributed over the course of many years. The William Penn Foundation has recently awarded a grant to NPower PA to both encourage use of the data catalog as well as the implementation of the OpenDataPhilly features related to developing a community around the web site. And a large community of people have also contributed advice, encouragement, feedback and data sets to the effort. An incomplete list includes: Johnny Bilotta (developed early version of OpenDataPhilly logo); Roz Duffy; Mark Headd (Tropo); John Mertens, Mjumbe Poe and Aaron Ogle (Code for America fellows); Chris Wink (Technically Philly) and Deb Boyer, Carissa Brittain, Brian Jacobs, Rachel Cheetham-Richard, Claire Connelly, Abby Fretz, Jamal Alsarraj, Dana Bauer and Tamara Manik-Perlman (some of the Azavea folks who worked on the project).

Where do we go from here?

So OpenDataPhilly.org is released. What happens now? That depends on you. A catalog won’t be much use without people using and contributing to it. Want to get involved? Here are a few ways:

  • Show up on Saturday for the Hackathon and join a team.
  • Got data? We know we probably missed a bunch of useful data sets. There is a page for organizations to submit information about their data sets for inclusion in the catalog.
  • Is a critical data set missing? We also have a way for you to ask for missing data sets and vote on other people’s requests.
  • Write to your city, state and federal legislators and ask them to support open government data policies. [We can help you with that too. Check out Azavea’s Cicero API.
  • Say something with the data. Download some data and develop a beautiful visualization that tells a story. Then submit it to the Idea Gallery.
  • If you are a developer, build some apps that use the data. Or, better yet, apply for Code for America, an innovative approach to public service where you can apply your skills to making government work better for everyone.
  • OpenDataPhilly.org needs a home. We’ve created it, but we don’t think we should own it in the long run. We’re ready to give it away. We estimate it’s going to be a few hours a week to maintain this. If you think you have a good home for it, we’d like to hear from you.

Esri Partner Conference and Dev Summit 2011

I just returned from the annual Esri Partner Conference and Developer Summit and wanted to jot down a few notes. The Partner Conference plenary was both exciting and stressful (for me). The layout and format was a significant departure from past events. Instead of the rows of chairs that are the usual layout, there were beanbags and couches (and even bleachers for the Esri staff). There were also dual stages with a small, circular TED-style “forum stage” placed in the middle of the audience. The lineup was a mix of reports from Esri and sneak peaks at future directions, interspersed with short “insightful ideas” and stories from Esri staff and partners.  It was stressful for me because I was giving one of those three minute “insightful ideas” talks (mine was about our B Corp status and a custom partner newsletter we prepare for Esri each month).

I think the event was a significant success.  Kudos to the Esri staff responsible for setting it up – there were a lot of really great ideas that made it fun to attend.  The highlights I saw last week included:

  • Ismael Chivite talking about how the Table-of-Contents and the Identify Button represent crappy design.  Developers need better friends and those friends should be Designers.
  • Demo of ArcGIS Server 10.1 in which a drive-time polygon and population summary was being calculated so fast that it could respond to the mouseover event as the cursor passed over the map…and do so with a national scale road centerline with 43 million segments – very impressive.  60 millisecond response time.  It was a great illustration of how high performance geoprocessing is not just faster, it changes what is possible from a user experience perspective.
  • ArcGIS Server 10.1 will be faster for many types of features – 64-bit goodness plus lots of work in the server.
  • Simpler architecture, fully REST-ful architecture – SOM, SOC, DCOM and Java dependencies are all gone.
  • Other ArcGIS Server 10.1 improvements will include: broad printing/PDF support; dynamic symbology (the final feature we had in ArcIMS that has been really hard in ArcGIS Server); private clouds; and WPS support (yeah!).
  • Lauren Rosenshein showed some really interesting ideas around geoprocessing packages that combine models and data for sharable processing elements.
  • Lots of love for Python in 10.1 including better ArcPy, faster cursors and NumPy support,
  • There are more than 11,000 public objects in ArcGIS 10.0.
  • New, simpler ArcGIS runtime that can be installed on Win or Linux with a simple file copy (and it’s smaller than Adobe Acrobat).
  • Demo by Morten Nielsen (@sharpgis) of a Kinect with OpenNI drivers being used to control a map with gestures – very cool – the YouTube video below is from a month or so ago, but you’ll get the idea.
  • Talk by Tim O’Reilly (@timoreilly) and Jennifer Pahlka (@pahlkadot) on the Code for America program. Azavean and CfA fellow, Aaron Ogle (@atogle), was there with CfA fellow, Ryan Risella (@RyanRisella), presenting some of the work they’ve already accomplished since January.
  • Tim O’Reilly also did a great talk in the Dev Summit plenary (starts at about 12 minutes into the 2nd video), where he spoke about a) the Internet as an operating system (with location as an important sub-system); b) government as a platform (with GPS as a prime example – a risky but innovative platform provider); and c) doing work that matters.
  • Met Eric Rodenbeck from Stamen Design – I’ve admired Stamen’s work for years.  I liked the structure of their talk, which used a very compelling diagram that related speed to power (fashion and business move at relatively high speed but have little long-term power, while nature and culture shift only very slowly but are enormously powerful), and gave lots of love to the many people that work hard to create data and systems that Stamen uses in their work.
  • Some excellent photography of the Partner Conference and Dev Summit posted on the respective home pages

Esri Removes Usage Limits on ArcGIS Online Base Maps

Esri announced on Friday that they are lifting most of the usage restrictions on ArcGIS Online map services. As of February, ArcGIS Online base maps hosted by Esri will be freely available to all users, regardless of the use (commercial, non-profit, internal, external, etc.) The only restrictions will be on very high volume transactions of 50 million or more per year. While some of these services could be better, some have some really terrific cartography.  I really like the World Topographic Map, particularly for communities that have contributed to the Community Maps Program.   And I remain excited that Esri is supporting OpenStreetMap as a base map option.

ArcGIS Online is evolving into an increasingly useful service with not just base maps but also high quality, specialized data sets, such as the US National Wetlands Inventory or the US National Soil Survey Map.   There is also the ability to embed the maps in personal web sites.  The ArcGIS Online blog has a nice set of examples for how these capabilities can be applied to a number of different scenarios.

ArcGIS Online Soil Survey with OSM base map

We have found ArcGIS Online to be useful for several of our projects, particularly those that need a high-quality base map with good cartography but for which there is no budget or no need for an actual web map server.  Since we frequently use the OpenLayers javascript library for many of these projects, we have recently submitted a new feature to the OpenLayers project that adds tiling support for ArcGIS Online base maps.  There’s more on the OpenLayers submission in a post by David Middlecamp on our Labs blog.

Esri File Geodatabase API Released

Over the holidays, Esri pre-announced a beta delivery date for the File Geodatabase API and today it was released in beta.  The shortcomings of the shapefile have been apparent for a decade or more, but it’s less clear to me why something has not taken it’s place.  SQLite Spatial has been a potential open source option, but it’s not one that has taken off.  Esri’s File Geodatabase (FGDB) has had a great deal of potential as an alternative because it is:

  • Cross-platform – runs on Windows and Linux
  • Supports many data types including raster, vector, networks, 3D, relationships
  • Doesn’t require a full relational database (Oracle, SQL Server, MS Access, etc.)
  • Lots more headroom in terms of the size of the database than the shapefile ever had
  • High performance (Esri recommends considering File GDBs over SDE under some high capacity server scenarios)
  • Support for editing

But since its introduction at ArcGIS 9.2, we’ve only been able to use the File GDB via ArcObjects.  Enterprise Geodatabases (née ArcSDE) have had a every useful C API for many years, and there’s been significant demand for something similar for the File GDB.  Such an API would enable the potential replacement of the shapefile as a much more sophisticated cross-platform interchange format.

So, as I was saying, the Esri GDB team released some information in mid-December and released the API in beta today.  You’ll be able to use the API as a C++ library.  We now know that this initial version of the API includes:

  • Create, Open and Delete file geodatabases
  • Read the schema of the geodatabase
  • Create new schemas for simple features (tables, points, lines, polygons)
  • Read feature classes
  • Insert, Update, Delete support for simple features (tables, points, lines, polygons)
  • Perform attribute and some limited spatial queries

There are some limitations:

  • No editing for complex feature types – annotation, networks, topologies, terrains, representations and parcel fabrics
  • No raster support (bummer)
  • Only very limited spatial query functions (envelope intersects only)
  • Only supports ArcGIS 10 File GDBs
  • Only supports Windows (Linux support has been promised in a subsequent release)

This API is something that people have been requesting for years.  Why the heck did it take so long?  My guess is that Esri developers needed to stabilize the internal structures before releasing a API for reading and writing those structures.  The fact that there is only support for FileGDBs created from ArcGIS 10 suggests that this may be correct.

So it’s out in beta now.  Go get it while it’s hot.