PostGIS Code Sprint Recap
The first (annual?) PostGIS Code Sprint in Paris is over, and it was a great event. We had most members of the core development team present, and participants from key PostGIS users (IGN, UK Ordnance Survey) in attendance as well.
We worked in offices donated by QuelleVille, talking about the things we considered worst about PostGIS, and one item topped the list: upgrades. It’s true, upgrades remain difficult, and the path from 1.5 to 2.0 is the trickiest since the 0.x to 1.0 transition many years ago. We expect that the PostgreSQL 9.1+ “extension” system will make upgrades easier for most users in the future, but in the present we need do more testing and documentation of upgrade scenarios.
The other issue of general concern was our Windows support. Windows has been a second class citizen in our development process, because the build process has been tenuous (see the large multi-step build guides in the development wiki) and developers have not been able to make regular windows testing a part of their workflow.
Much of the effort in the code sprint went towards working on the Windows issue. Mateusz Loskot and Mark Cave-Ayland began work on a CMake build system, to allow us to do multi-platform builds including Windows more transparently and reliably. I worked on converting the regression system from a UNIX “bash” script (not available on Windows) to a Perl script (available on Windows) so that the regression tests can be run under Windows too. If we can convert the build chain to CMake and all the script logic to Perl, we should be much closer to providing an easy (easier) Windows build experience.
While we were working on that, Sandro Santilli (who eschews Windows) worked on making long-running algorithms interruptible. That is, when a big process like a huge buffer or spatial join is running, it should be possible to hit ctrl-C and break out of it. Currently, it’s not possible. Because we need to interrupt algorithms that are potentially running outside the database context in GEOS, this is a tricky bit of work, but Sandro made good headway on it.
Working away en francais, Olivier Courtin and Sébastien Loriot (CGAL) discussed how to integrate the CGAL library into PostGIS to support algorithms on the new 3D objects we support such as PolyhedralSurfaces. CGAL already has a considerable number of algorithms for 3D, so leveraging their library could move PostGIS more quickly into the 3D space.
We also had a chance on Tuesday evening to meet local PostGIS power users, at an event at the offices of af83. It was great to hear how widely PostGIS is used in France, from government to business to NGOs. In particular, it was great to hear the general consensus that PostGIS is one of the first options on the table when organizations are thinking about building out spatial systems.
Many thanks to Olivier Courtin of Oslandia for organizing the event and feeding us a delicious breakfast and lunch on Wednesday, I hope to do this again, in France or elsewhere!







