Changeset 28720 in osm for applications/editors/josm/plugins/reltoolbox/src/relcontext
- Timestamp:
- 2012-09-17T10:38:31+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/reltoolbox/src/relcontext/relationfix/BoundaryFixer.java
r28703 r28720 78 78 Node n = (Node)m.getMember(); 79 79 if( !n.isIncomplete() ) { 80 if( n.hasKey("place") ) 81 role = "admin_centre"; 82 else 80 if( n.hasKey("place") ) { 81 String place = n.get("place"); 82 if (place.equals("state") || place.equals("country") || 83 place.equals("county") || place.equals("region")) { 84 role = "label"; 85 } else { 86 role = "admin_centre"; 87 } 88 } else 83 89 role = "label"; 84 90 }
Note:
See TracChangeset
for help on using the changeset viewer.