add postcodes and interpolations to osm2pgsql style

This commit is contained in:
Sarah Hoffmann
2019-01-02 14:50:55 +01:00
parent 4c10294a29
commit 8e2e852b89
3 changed files with 21 additions and 2 deletions

View File

@@ -60,9 +60,9 @@
}
},
{
"keys" : ["addr:*", "is_in:*", "tiger:county", "is_in"],
"keys" : ["addr:interpolation"],
"values" : {
"" : "address"
"" : "interpolation,address"
}
},
{

View File

@@ -53,5 +53,18 @@
"values" : {
"" : "address"
}
},
{
"keys" : ["postal_code", "postcode", "addr:postcode",
"tiger:zip_left", "tiger:zip_right"],
"values" : {
"" : "postcode"
}
},
{
"keys" : ["capital"],
"values" : {
"" : "extra"
}
}
]

View File

@@ -198,6 +198,12 @@
"" : "address,house"
}
},
{
"keys" : ["addr:interpolation"],
"values" : {
"" : "interpolation,address"
}
},
{
"keys" : ["addr:*", "is_in:*", "tiger:county", "is_in"],
"values" : {