-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for administrative regions/boundaries in Tanzania #2
Comments
Great, sure we will need to have regions attribute. Currently it is on the future plan but if you can spin it fast we can add support for the regions in less time. We can do it as a new attribute: E.g. Location Or you can think of any best strategy that suites the attribute. From here your data would be helpful. |
Yes. It should be accommodated as a new attribute. bandia.location.zone() // Northern Zone, Southen Higherlands etc
bandia.location.region()
bandia.location.district()
bandia.location.district('Mwanza') // A random district in Mwanza
bandia.location.ward('Kinondoni') // Only wards within Kinondoni
bandia.location.ward() // A random ward The ability to limit data within a particular scope would help generate data that is more realistic. const region = bandia.location.region() // Get a random region
const district = bandida.location.district(region) // Generated district must fall under region
const ward = bandia.location.ward(district) // And so does the ward |
Cool then, i will prepare the attribute function and let you know when to commence the data intergration of the regions |
@shemmjunior Sure thing |
Hello,
This is going to be a very useful resource for developers wanting to test their applications with real data.
I believe adding support for administrative regions would be a big plus. Let me know if you already have this in your plans, as this is an area I should be able to help with.
You may want to look into my project https://github.com/bentesha/rgeocode - a self-hosted reverse geocode for Tanzania and Kenya. There is plenty of data that can be used for this project.
The text was updated successfully, but these errors were encountered: