Geoprocessing for hipsters: translating features

2012-03-06T04:15:23Z in programming, python, the lab

Here's the functional programming version of a script I posted earlier today on GIS Stack Exchange.

Once the single record translating function is defined (in only 10 statements), the rest of the code is just 4 statements. That's only one more than in David Bitner's super slick JEQL example. JEQL gives you the translate function, but at least Fiona makes writing it (and also many other functions of this sort) simple.

Update (2012-03-06): Sounds like Martin Davis is putting some new rims on his own geo-fixie....

Comments are closed after 13 days.

about archive feed find

Some rights reserved by Sean Gillies.