Changeset 16619 in osm for applications/editors/josm/plugins/cadastre-fr
- Timestamp:
- 2009-07-21T20:17:36+02:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/DownloadSVGBuilding.java
r16581 r16619 132 132 // check if the new way or its nodes is already in OSM layer 133 133 for (Node n : svgDataSet.nodes) { 134 Node nearestNewNode = checkNearestNode(n, Main. ds.nodes);134 Node nearestNewNode = checkNearestNode(n, Main.main.getCurrentDataSet().nodes); 135 135 if (nearestNewNode != n) { 136 136 // replace the SVG node by the OSM node -
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/DownloadSVGTask.java
r16581 r16619 123 123 // simplify the way 124 124 double threshold = Double.parseDouble(Main.pref.get("cadastrewms.simplify-way-boundary", "1.0")); 125 new SimplifyWay().simplifyWay(wayToAdd, Main. ds, threshold);125 new SimplifyWay().simplifyWay(wayToAdd, Main.main.getCurrentDataSet(), threshold); 126 126 127 127 cmds.add(new AddCommand(wayToAdd));
Note:
See TracChangeset
for help on using the changeset viewer.