Fyi, Gandalf, I think you can get the code for unitgen from Elmokki, so then it would be easy to add additional map data to the existing code. It is Java code.
Not sure if it is open source or whatever. But from what I recall, Elm was not against sharing the code. He is reachable on irc.