"woran wir noch arbeiten sind die ISO 3166-2 codes für so viele Länder wie möglich bevor wir wechseln. Es ist mir nicht bekannt, dass die opengeodb diese Daten enthält."
I don't mind using other codes ... as long as there is a web service for converting from one to the other
No, that would be sufficient, it includes the internal geonameId that's all i would need. So you do have there data that maps 3166-2 to geonameId. I just can't find the ws for it.
There a lot of different codes to describe admin division. Among the most popular are ISO and FIPS. Unfortunately there is no 1:1 relation between the different coding systems. GeoNames started with FIPS and has made some changes to keep up with political changes not yet reflected in FIPS or for other reasons.
At this time there is no service available to translate between the different coding systems. We have started mapping ISO, but other important codes like the European NUTS are missing completely.
I will put it on the todo list.