Estonian EHAK xml parser written in php
I decided to share a little PHP class which was written because I needed it last month. This parser is not fully ready yet. It even has some known bugs and missing features. Also optimizing is needed. But let it be out here- maybe it helps someone out or even gets someone to collaborate with me.
What EHAK stands for?
EHAK stands for Eesti haldus- ja asustusjaotuse klassifikaator, which in English is "The Classification of Administrative and Settlement Units of Estonia". Basically this is register for every Estonian settlement. Every settlement has a name, classification and unique code to identify it.
The territory of Estonia is divided into counties. Every county is divided into cities and rural municipalities. Smaller parts are city districts, small towns, cities without municipal status and villages.
- You can find EHAK xml here
- Live example of this class
- php EhakXmlParser in github
- Wiki page about administrative division of Estonia