Changeset 34899 in osm for applications/editors/josm/plugins
- Timestamp:
- 2019-02-24T20:42:32+01:00 (6 years ago)
- Location:
- applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/io/geographic
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/io/geographic/GeographicReader.java
r34646 r34899 11 11 import java.util.ArrayList; 12 12 import java.util.Arrays; 13 import java.util.Collection; 13 14 import java.util.Collections; 14 15 import java.util.HashMap; … … 69 70 import com.vividsolutions.jts.geom.Point; 70 71 72 /** 73 * Superclass of geographic format readers (currently GML and SHP). 74 */ 71 75 public abstract class GeographicReader extends AbstractReader { 72 76 … … 186 190 // Find possible duplicated ways 187 191 if (tempWay.getNodesCount() > 0) { 188 List<Way> candidates = OsmPrimitive.getFilteredList(tempWay.firstNode().getReferrers(), Way.class);192 Collection<Way> candidates = Utils.filteredCollection(tempWay.firstNode().getReferrers(), Way.class); 189 193 candidates.remove(tempWay); 190 194 List<LatLon> tempNodes = DuplicateWay.getOrderedNodes(tempWay); -
applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/io/geographic/GmlReader.java
r34452 r34899 37 37 import com.vividsolutions.jts.geom.Point; 38 38 39 /** 40 * Reader of GML (Geography Markup Language) files. 41 */ 39 42 public class GmlReader extends GeographicReader { 40 43 -
applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/io/geographic/ShpReader.java
r34898 r34899 44 44 import org.openstreetmap.josm.data.osm.OsmPrimitive; 45 45 import org.openstreetmap.josm.data.osm.Relation; 46 import org.openstreetmap.josm.data.osm.Way;47 46 import org.openstreetmap.josm.gui.MainApplication; 48 47 import org.openstreetmap.josm.gui.progress.ProgressMonitor; … … 59 58 import com.vividsolutions.jts.geom.Polygon; 60 59 60 /** 61 * Reader of SHP (Shapefile) files. 62 */ 61 63 public class ShpReader extends GeographicReader { 62 64
Note:
See TracChangeset
for help on using the changeset viewer.