Malagasy Address
Malagasy Address
The regions, districts, communes and fokontany of Madagascar by code or by name, with their point and area, for JavaScript and PHP.
Malagasy Address knows every administrative division of Madagascar: 24 regions, 120 districts, 1 645 communes and 17 465 fokontany, from the OCHA COD-AB list. Find a place by code, search by name, list what is below a place, and ask which place is nearest to a point. The data is checked against shared test vectors, so JavaScript and PHP give the same answer.
Start here
Section titled “Start here”Installationnpm, Composer, Laravel and SymfonyPlacesFind, search, list, locate and measureCheck on a mapSee every shape and point over MadagascarAPI referenceEvery function, option and error code
What is in it
Section titled “What is in it”The data comes from the OCHA COD-AB dataset (CC BY-IGO). See Rules and sources for what it is, what it is not, and what was decided.