Commit 024cf63f authored by jayherron's avatar jayherron

Modified "COVERED PARKING" to force review. Bug fixes

parent 7bbaecb6
......@@ -2,6 +2,7 @@
var command = require("josm/command");
// Contains all unique values of the "TYPE" tag on buildings. These often map to building tags.
// "utahagrc:review" is used to identify objects that require review, and contains the value of the "Type" tag.
const typeMap = {"ACADEMY":{"building":"school", "amenity":"school"},
......@@ -113,7 +114,7 @@
"COUNTY GOVERNMENT FACILITY":{"building":"government"},
"COUNTY OFFICES":{"building":"office", "office":"government"},
"COURT":{"building":"government", "amenity":"courthouse"},
"COVERED PARKING":{"building":"parking", "amenity":"parking", "parking":"multi-storey"},
"COVERED PARKING":{"utahagrc:review":"COVERED PARKING"}, // Force a review. This has been observed as many things: "parking":"multi-storey", "building":"carport", "building":"garage"
"CRAFTS":{"building":"retail", "shop":"craft"},
"CREDIT UNION":{"building":"commercial", "amenity":"bank"},
"DANCE STUDIO":{"building":"commercial", "amenity":"dancing_school"},
......@@ -37,7 +37,6 @@
var tags = ptTypeMap[obj.get("PtType")]; // Find the ptType entry
if(tags != null) {
Object.keys(tags).forEach(function(key){ // Set each tag defined in the ptType result.
obj.set(key, tags[key]);
counter = counter + 1;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment