Compiling osm2pgsql on OSX 10.7.4

I was following this guide, but when I ran into the osm2pgsql compilation issue with the latest version of osm2pgsql.

With much help from apmon in #osm on irc.oftc.net, he was able to add a number of configure checks to get it to compile in OSX.

That said, it’s been merged into HEAD, and it should now work again from within Homebrew, or by compiling from source. Here’s what I did:

> brew install –HEAD osm2pgsql
> ./autogen.sh
> ./configure
> make
> make install (optional)

 

Let me know how it goes for you!

 

 

 

 

2012 Resolutions

I don’t normally make New Years resolutions, but this year, I’m going to set a few goals and see how I do. I’m so far off to a really good start with most of these.
  1. Move active projects to a Continuous Deployment system with Jenkins and write more unit tests.
  2. Increase my use of actionable metrics with Mixpanel, Optimizely, and Adwords.
  3. Build at least one really cool Arduino project.
  4. Launch Robot Rescue Headquarters.
  5. Go to more django-ottawa meetups.
  6. Update this site more often.
Have other ideas, want to do the same, or just have general words of encouragement?
What are your 2012 personal development goals?

Merging forms from django-formwizard

On a recent project, I was making use of the django-formwizard app and needed to be able to pull out any one of the fields from the series of forms. On the final step of one of the sample apps, it is suggested that you do something like:
form_list = [form.cleaned_data for form in form_list]
to get a combined dictionary of all the form elements. Continue reading

OpenBlock for Ottawa

Ever since the open sourcing of Everyblock last year, I’ve been really keen to get an EveryBlock site setup for Ottawa. With the latest project from OpenPlans, OpenBlock (based on the Everyblock code) makes this a lot easier to get rolling. I’ve got a demo site up, and am in the process of parsing CanVec data into something the OpenBlock code can deal with. Tweet me if you’re interested in helping out.

Benches in Brussels

While on vacation in Belgium recently, I came across all sorts of really fantastic public art, and functional “street furniture”.  I’m excited to see what the City of Ottawa will be procuring as part of the Integrated Street Furniture Program. Below you’ll find my roundup of benches in Brussels.