Changeset 16290 in osm for applications/editors/josm/plugins/Create_grid_of_ways
- Timestamp:
- 2009-07-03T12:34:14+02:00 (16 years ago)
- Location:
- applications/editors/josm/plugins/Create_grid_of_ways
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/Create_grid_of_ways/build.xml
r14370 r16290 26 26 <attribute name="Plugin-Description" value="Create a grid of ways."/> 27 27 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/Create_grid_of_ways"/> 28 <attribute name="Plugin-Mainversion" value="1 208"/>28 <attribute name="Plugin-Mainversion" value="1722"/> 29 29 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 30 30 </manifest> -
applications/editors/josm/plugins/Create_grid_of_ways/src/CreateGridOfWaysPlugin/CreateGridOfWaysAction.java
r14370 r16290 75 75 double latDif,lonDif; 76 76 for (Node n1 : nodesWay1) { 77 latDif = n1. coor.lat()-nodeCommon.coor.lat();78 lonDif = n1. coor.lon()-nodeCommon.coor.lon();77 latDif = n1.getCoor().lat()-nodeCommon.getCoor().lat(); 78 lonDif = n1.getCoor().lon()-nodeCommon.getCoor().lon(); 79 79 c2=0; 80 80 for (Node n2 : nodesWay2) { … … 89 89 continue; 90 90 } 91 Node nodeOfGrid = new Node(new LatLon(n2. coor.lat()+latDif,n2.coor.lon()+lonDif));91 Node nodeOfGrid = new Node(new LatLon(n2.getCoor().lat()+latDif,n2.getCoor().lon()+lonDif)); 92 92 cmds.add(new AddCommand(nodeOfGrid)); 93 93 w1[c1].nodes.add(nodeOfGrid);
Note:
See TracChangeset
for help on using the changeset viewer.