Changeset 29854 in osm for applications/editors/josm/plugins/reltoolbox
- Timestamp:
- 2013-08-21T03:47:16+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
r29435 r29854 4 4 <property name="commit.message" value="RelToolbox: make natural sort for relation and find relation lists"/> 5 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 6 <property name="plugin.main.version" value=" 5613"/>6 <property name="plugin.main.version" value="6162"/> 7 7 8 8 <property name="plugin.author" value="Ilya Zverev"/> -
applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/SplittingMultipolygons.java
r26952 r29854 2 2 3 3 import java.awt.geom.Area; 4 4 5 import static org.openstreetmap.josm.tools.I18n.tr; 6 5 7 import java.util.*; 8 6 9 import org.openstreetmap.josm.Main; 7 10 import org.openstreetmap.josm.command.*; 8 11 import org.openstreetmap.josm.data.coor.EastNorth; 12 import org.openstreetmap.josm.data.coor.LatLon; 9 13 import org.openstreetmap.josm.data.osm.*; 10 14 import org.openstreetmap.josm.gui.DefaultNameFormatter; … … 27 31 return false; 28 32 for( Node n : way.getNodes() ) { 29 if( n.isIncomplete() || (a != null && !a.contains(n.getCoor())) ) 30 return false; 33 LatLon ll = n.getCoor(); 34 if( n.isIncomplete() || (a != null && !a.contains(ll.getX(), ll.getY())) ) 35 return false; 31 36 } 32 37 if( way.isClosed() )
Note:
See TracChangeset
for help on using the changeset viewer.