Skip to content

Commit

Permalink
Fixed the AC000 vs AL010 translation issue (#5275)
Browse files Browse the repository at this point in the history
refs: #5271
  • Loading branch information
mattjdnv authored Mar 3, 2022
1 parent f653724 commit 15c931e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion translations/etds71_osm.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ etds71_osm = {
// Translate the single values from "English" to TDS
for (var val in attrs)
{
if (val in etds70_osm_rules.singleValues)
if (val in etds71_osm_rules.singleValues)
{
nAttrs[etds71_osm_rules.singleValues[val]] = attrs[val];
// Debug
Expand Down
1 change: 1 addition & 0 deletions translations/ggdm30_rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ ggdm30.rules = {
['F_CODE','AK120','leisure','playground'], // Park
['F_CODE','AK170','amenity','swimming_pool'], // Pool
['F_CODE','AL013','man_made','depot'],
['F_CODE','AL010','facility','processing'], // From MGCP - Map to Facility
['F_CODE','AL020','landuse','industrial'], // From OSM - Map to BUA
['F_CODE','AL020','landuse','residential'], // From OSM - Map to BUA
['F_CODE','AL024','place','neighborhood'], // Neighbourhood - US spelling
Expand Down
2 changes: 1 addition & 1 deletion translations/mgcp.js
Original file line number Diff line number Diff line change
Expand Up @@ -1134,7 +1134,7 @@ mgcp = {
if (tags.facility == 'processing')
{
if (! tags.product) tags.product = 'unknown';
tags.facility = 'yes';
// tags.facility = 'yes';
}

// Sort out the WID, WD1 etc attributes
Expand Down
1 change: 1 addition & 0 deletions translations/tds61_rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ tds61.rules = {
['F_CODE','AK120','leisure','playground'], // Park
['F_CODE','AK170','amenity','swimming_pool'], // Pool
['F_CODE','AL013','man_made','depot'],
['F_CODE','AL010','facility','processing'], // From MGCP - Map to Facility
['F_CODE','AL020','landuse','industrial'], // From OSM - Map to BUA
['F_CODE','AL020','landuse','residential'], // From OSM - Map to BUA
['F_CODE','AL030','amenity','grave_yard'], // From OSM Data
Expand Down
1 change: 1 addition & 0 deletions translations/tds71_rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ tds71.rules = {
['F_CODE','AK120','leisure','nature_reserve'], // Park
['F_CODE','AK120','leisure','playground'], // Park
['F_CODE','AK170','amenity','swimming_pool'], // Pool
['F_CODE','AL010','facility','processing'], // From MGCP - Map to Facility
['F_CODE','AL020','landuse','commercial'], // From OSM - Map to BUA
['F_CODE','AL020','landuse','industrial'], // From OSM - Map to BUA
['F_CODE','AL020','landuse','residential'], // From OSM - Map to BUA
Expand Down

0 comments on commit 15c931e

Please sign in to comment.