Changeset 28720 in osm for applications/editors/josm/plugins/reltoolbox
- Timestamp:
- 2012-09-17T10:38:31+02:00 (12 years ago)
- Location:
- applications/editors/josm/plugins/reltoolbox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/reltoolbox/build.xml
r28710 r28720 30 30 <project name="reltoolbox" default="dist" basedir="."> 31 31 <!-- enter the SVN commit message --> 32 <property name="commit.message" value="RelToolbox: update validations for associatedStreet"/>32 <property name="commit.message" value="RelToolbox: update validations for boundary fixer - label role"/> 33 33 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 34 34 <property name="plugin.main.version" value="5018"/> -
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.