OpenCageData / perl-Geo-Address-Formatter

Perl module to take structured address data and format it.
https://metacpan.org/pod/Geo::Address::Formatter
8 stars 4 forks source link

change to config to deal with dependant territories #4

Open freyfogle opened 8 years ago

freyfogle commented 8 years ago

I'd like to change the way we parse worldwide.yaml to better deal with territories that for whatever historic reason have their own country code but actually use the address format of another country. An example would be American Samoa and the US, somehow it should be straight forward to simply define American Samoa as using the US format rather than replicating configuration. Of course AS should still be able to have it's own post formatting, etc.

freyfogle commented 8 years ago

This was partially solved in v1.49, we still have a hack for "subcountries" like AW, CW, SX.