pelias / labels

Pelias Label generation
https://pelias.io
MIT License
4 stars 9 forks source link

Add Italian schema #40

Closed aguiraf closed 3 years ago

aguiraf commented 3 years ago

Added a new schema for the common Italian address format

orangejulius commented 3 years ago

Thanks @aguiraf!

So, looking at the current output, the effect of this PR is that Italian labels go from

Corso Duca Degli Abruzzi 71, Torino, Italia

to

Corso Duca Degli Abruzzi 71, Torino, TO, Italia

Or, in other words, the short region code is added. Is that right?

aguiraf commented 3 years ago

Hi @orangejulius, yes, it's correct; is the short code of the province that is an intermediate level between a municipality and a region. That is the most common way of formatting an address in Italy.

orangejulius commented 3 years ago

Awesome, thanks!