Tags

Tags specific to this layer

bridge — Geometries and relations
if( fields.bridge_construction_type ) {
   value = fields.bridge_construction_type;
} else {
   value = "yes"
}
disused — Geometries and relations
if (fields.bridge_status == "disused" ) {
   value ="yes"
}
highway — Geometries and relations
if(fields.bridge_use1) {
  switch(fields.bridge_use1) {
    case "vehicle": value = 'road';
      break;
    case "farm": value = 'track';
      break;
    case "foot traffic": value = 'footway';
      break;
    case "stock": value = 'track';
      break;
  }
}
historic — Geometries and relations
if (fields.bridge_status == "historic" ) {
   value ="yes"
}
LINZ:bridge_materials — Geometries and relations
if (fields.bridge_materials != 0 ) {
   value = fields.bridge_materials
}
LINZ:bridge_status — Geometries and relations
if (fields.bridge_status != "disused" && fields.bridge_status != "historic" ) {
   value = fields.bridge_status
}
LINZ:bridge_use2 — Geometries and relations
if (fields.bridge_use2 != 0)  {
   value = fields.bridge_use2
}
man_made — Geometries and relations
if(fields.bridge_use1 == "pipe") {
   value = "pipeline"
}
name — Geometries and relations
value = fields.name
railway — Geometries and relations
if(fields.bridge_use1) {
  switch(fields.bridge_use1) {
    case "train": value = 'rail';
      break;
    case "tram": value = 'tram';
      break;
    case "cablecar": value = 'funicular';
      break;
  }
}

Tags for group linz

attribution — Geometries and relations
value = "http://wiki.osm.org/wiki/Attribution#LINZ"
LINZ:dataset — Geometries and relations
value = fields.dataset_name;
LINZ:layer — Geometries and relations
value = fields.layer_name;
LINZ:source_version — Geometries and relations
value = fields.dataset_version;

Tags for group linz_topo

source_ref — Geometries and relations
value = "http://www.linz.govt.nz/topography/topo-maps/"