1. Playing around with classification algorithms: Python and QGIS

    Thu 23 September 2010
    cfarmer

    Data visualization is part of my everyday work-flow. More often than not, I’m playing around with my data in a GIS to tease out interesting or informative spatial patterns, or to ensure that I’m getting the results that I’m expecting. As a result, I am constantly trying out different classification schemes to help me generalize spatial patterns, highlight outliers and/or patterns, or just plain mess around with my data.

    read more

    comments

  2. PostGIS ‘select’ statement as vector layer in QGIS

    Tue 27 April 2010
    cfarmer

    Several colleagues of mine have asked whether it is possible to visualise the results of a SELECT statement on a PostGIS database that returns spatial data in QGIS. In other words, can we map the results of something like:

    SELECT id, st_union(the_geom) FROM spatial_table GROUP BY id;
    

    My usual answer to this in the past has been “not yet…”, but now thanks to Giuseppe Sucameli and Jürgen E. Fischer, the answer is a resounding “yes!”. A recent patch to QGIS trunk now makes custom Postgres queries possible via the postgres data provider.

    read more

    comments

  3. Parallel bootstrapping with R

    Wed 21 April 2010
    cfarmer

    In a recent post, I mentioned that I was testing the stability of clusters generated from a modified network partitioning algorithm using bootstrap resampling techniques. I also mentioned that I was doing this in R, using the very nice foreach package published by REvolution Computing. To show just how nice this package is, below is a minimal example of bootstrapping a network partitioning algorithm which takes advantage of a multicore processor:

    read more

    comments

  4. Why I’m *not* going to use Mendeley

    Wed 14 April 2010
    cfarmer

    Besides the obvious: “It’s not open source!”, I’m also not making the switch from Zotero to Mendeley for my academic reference management needs due to the answer to this question on the Mendeley FAQ page:

    Is Mendeley free?

    The straight answer would be yes and no. Yes, it’s free, because: Everything you get when you sign up to Mendeley is completely free and will always remain free - including the features described in What is Mendeley?

    No, it’s not completely free, because: At a later point in time, we will expand upon the existing features and introduce ...

    read more

    comments

  5. Speeding up geoprocessing in QGIS

    Thu 01 April 2010
    cfarmer

    Last night I had an uncontrollable urge to make geopoprocessing in QGIS better, faster and more fun! I had come across a couple of posts (here, here) on the idea of a cascaded union operation, and since it has recently been added to GEOS (which QGIS uses for its geometry operations), I thought I’d give a much needed boost to the fTools union tool and related functions.

    read more

    comments

  6. QGIS developer meeting update

    Wed 11 November 2009
    cfarmer

    Last week I attended the 2009 QGIS Developers Meeting in Vienna, Austria. We all had a really good time, met many new people, and actually got a lot done in the process. There have been updates about the meeting (hackfest) on the QGIS blog, and Tim Sutton has written a few words about our progress as well. I’m not going to repeat what others have said, but I would like to give a quick update on the work that I was doing at the meeting, and show off the new geoprocessing features now available to all QGIS developers (Python and C++).

    read more

    comments

  7. Voronoi polygons with R

    Wed 16 September 2009
    cfarmer

    To create a nice bounded Voronoi polygons tessellation of a point layer in R, we need two libraries: sp and deldir. The following function takes a SpatialPointsDataFrame as input, and returns a SpatialPolygonsDataFrame that represents the Voronoi tessellation of the input point layer.

    read more

    comments

2 / 4

twitter

recent visitors