Changeset 34965 in osm for applications/editors/josm/plugins/poly/src/poly/PolyImporter.java
- Timestamp:
- 2019-04-07T07:11:41+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/poly/src/poly/PolyImporter.java
r34860 r34965 93 93 parsingSection = false; 94 94 name = null; 95 } else if ( line.equals("END")) {95 } else if ("END".equals(line)) { 96 96 if (!parsingSection) { 97 97 area = null; … … 238 238 } 239 239 240 /** 241 * Store a coordinate 242 * @param node the coordinate 243 */ 240 244 public void addNode(LatLon node) { 241 245 if (nodes.isEmpty() || !(nodes.get(nodes.size()-1).equals(node) || nodes.get(0).equals(node))) … … 255 259 } 256 260 261 /** 262 * Convert a ring to an OSM way 263 * @param ds the dataset in which the way is stored 264 * @param isMultipolygon true means the way is part of a multipolygon relation 265 */ 257 266 public void constructWay(DataSet ds, boolean isMultipolygon) { 258 267 way = new Way();
Note:
See TracChangeset
for help on using the changeset viewer.
