Changeset 18413 in osm
- Timestamp:
- 2009-11-02T08:46:24+01:00 (15 years ago)
- Location:
- applications/editors/josm/plugins
- Files:
-
- 4 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/addrinterpolation/build.xml
r18398 r18413 91 91 <attribute name="Plugin-Description" value="Group common Address Interpolation inputs in a single dialog,"/> 92 92 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/AddrInterpolation"/> 93 <attribute name="Plugin-Mainversion" value="23 50"/>93 <attribute name="Plugin-Mainversion" value="2381"/> 94 94 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 95 95 </manifest> -
applications/editors/josm/plugins/addrinterpolation/src/org/openstreetmap/josm/plugins/AddrInterpolation/AddrInterpolationDialog.java
r18399 r18413 57 57 58 58 /** 59 * 59 * 60 60 */ 61 61 … … 516 516 DataSet currentDataSet = Main.main.getCurrentDataSet(); 517 517 if (currentDataSet != null) { 518 for (Relation relation : currentDataSet. relations) {518 for (Relation relation : currentDataSet.getRelations()) { 519 519 520 520 String relationType = relation.get("type"); -
applications/editors/josm/plugins/cadastre-fr/build.xml
r18404 r18413 26 26 <attribute name="Plugin-Description" value="A special handler for the French land registry WMS server."/> 27 27 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/FR:JOSM/Fr:Plugin/Cadastre"/> 28 <attribute name="Plugin-Mainversion" value="23 27"/>28 <attribute name="Plugin-Mainversion" value="2381"/> 29 29 <attribute name="Plugin-Stage" value="60"/> 30 30 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> -
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/DownloadSVGBuilding.java
r17528 r18413 110 110 Node nodeToAdd = new Node(Main.proj.eastNorth2latlon(eastNorth)); 111 111 // check if new node is not already created by another new path 112 Node nearestNewNode = checkNearestNode(nodeToAdd, svgDataSet. nodes);112 Node nearestNewNode = checkNearestNode(nodeToAdd, svgDataSet.getNodes()); 113 113 if (nearestNewNode == nodeToAdd) 114 114 svgDataSet.addPrimitive(nearestNewNode); … … 128 128 129 129 // simplify ways and check if we can reuse existing OSM nodes 130 for (Way wayToAdd : svgDataSet. ways)130 for (Way wayToAdd : svgDataSet.getWays()) 131 131 new SimplifyWay().simplifyWay(wayToAdd, svgDataSet, 0.5); 132 132 // check if the new way or its nodes is already in OSM layer 133 for (Node n : svgDataSet. nodes) {134 Node nearestNewNode = checkNearestNode(n, Main.main.getCurrentDataSet(). nodes);133 for (Node n : svgDataSet.getNodes()) { 134 Node nearestNewNode = checkNearestNode(n, Main.main.getCurrentDataSet().getNodes()); 135 135 if (nearestNewNode != n) { 136 136 // replace the SVG node by the OSM node 137 for (Way w : svgDataSet. ways) {137 for (Way w : svgDataSet.getWays()) { 138 138 int replaced = 0; 139 139 for (Node node : w.getNodes()) … … 151 151 152 152 Collection<Command> cmds = new LinkedList<Command>(); 153 for (Node node : svgDataSet. nodes)153 for (Node node : svgDataSet.getNodes()) 154 154 if (!node.isDeleted()) 155 155 cmds.add(new AddCommand(node)); 156 for (Way way : svgDataSet. ways)156 for (Way way : svgDataSet.getWays()) 157 157 if (!way.isDeleted()) 158 158 cmds.add(new AddCommand(way)); -
applications/editors/josm/plugins/czechaddress/build.xml
r18404 r18413 52 52 <attribute name="Plugin-Description" value="Creating and handling address nodes and buildings within Czech Republic."/> 53 53 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/Cz:JOSM/Plugins/CzechAddress"/> 54 <attribute name="Plugin-Mainversion" value="23 23"/>54 <attribute name="Plugin-Mainversion" value="2381"/> 55 55 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 56 56 </manifest> -
applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/actions/SplitAreaByEmptyWayAction.java
r17603 r18413 124 124 } 125 125 126 for (Relation relation : Main.main.getCurrentDataSet(). relations)126 for (Relation relation : Main.main.getCurrentDataSet().getRelations()) 127 127 for (RelationMember areaMember : relation.getMembers()) 128 128 if (area.equals(areaMember.getMember()))
Note:
See TracChangeset
for help on using the changeset viewer.