Tuesday 23 February 2010

Coastlines again

I really am an untidy person. Without the pressure from my better half I would live under a huge pile of stuff that should be in drawers or boxes or whatever. Code is, however, a different world and it has to be tidy.

I've just finished tidying up the coastline routines on my renderer. It is much better now, distilled into sensible classes and built around a simple state engine. There are a few tasks still to do but they are documented and have slots to put them in.  There is a lot of testing to do yet too.  I have been creating test .osm files that cover as many eventualities as needed, which for coastlines is more than I expected.

Now the tidy itch has been scratched I really can move on.

No comments: