Pages

Sunday, 18 September 2011

FOSS4G Code Sprint

I will catch up on some of the great action on Friday - but for now something topical.
Jump! Not the project; just a bit of fun at the code sprint.
(We were kicked out for a fire drill; this happens when spatial indexes go bad).

If you would like more I have placed some up on flicker with the appropriate foss4g tag.

GeoTools

We had a great GeoTools code sprint.

Jared Erickson from the GeoScript project was kind enough to help me bash out a new process tutorial:

BEFORE:

static public Geometry octagonalEnvelope( Geometry geom) {
    return new OctagonalEnvelope(geom).toGeometry(geom.getFactory());
}
AFTER:

@DescribeProcess(title = "Octagonal Envelope", description = "Get the octagonal envelope of this Geometry.")
@DescribeResult(description="octagonal of geom")
static public Geometry octagonalEnvelope(@DescribeParameter(name = "geom") Geometry geom) {
    return new OctagonalEnvelope(geom).toGeometry(geom.getFactory());
}
I also enjoyed working with some new friends from the Netherlands who were kind enough to update the GeoTools quickstart for Eclipse 3.7.

Thank you to the organisers for the great location! And to everyone who helped out today.

No comments: