Changeset 35975 in osm for applications/editors/josm/plugins/opendata/src
- Timestamp:
- 2022-06-13T19:51:10+02:00 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/io/geographic/GeographicReader.java
r35125 r35975 6 6 import java.awt.Component; 7 7 import java.awt.GraphicsEnvironment; 8 import java.awt.Point; 8 9 import java.io.IOException; 9 10 import java.io.InputStream; … … 24 25 import javax.swing.Icon; 25 26 import javax.swing.JOptionPane; 27 import javax.xml.crypto.dsig.TransformException; 26 28 27 29 import org.geotools.geometry.jts.JTS; … … 35 37 import org.geotools.util.factory.Hints; 36 38 import org.locationtech.jts.geom.LineString; 37 import org.locationtech.jts.geom.Point;38 39 import org.opengis.geometry.MismatchedDimensionException; 39 40 import org.opengis.referencing.FactoryException; … … 43 44 import org.opengis.referencing.crs.ProjectedCRS; 44 45 import org.opengis.referencing.cs.CoordinateSystem; 45 import org.opengis.referencing.datum.Datum;46 46 import org.opengis.referencing.operation.MathTransform; 47 47 import org.opengis.referencing.operation.OperationNotFoundException; 48 import org.open gis.referencing.operation.TransformException;48 import org.openstreetmap.josm.data.coor.ILatLon; 49 49 import org.openstreetmap.josm.data.coor.LatLon; 50 50 import org.openstreetmap.josm.data.osm.DataSet; … … 54 54 import org.openstreetmap.josm.data.osm.RelationMember; 55 55 import org.openstreetmap.josm.data.osm.Way; 56 import org.openstreetmap.josm.data.projection.datum.Datum; 56 57 import org.openstreetmap.josm.data.validation.tests.DuplicateWay; 57 58 import org.openstreetmap.josm.gui.ExtendedDialog; … … 112 113 LatLon ll = new LatLon(p.getY(), p.getX()); 113 114 for (Node node : nodes.values()) { 114 if (node.getCoor().equalsEpsilon(ll )) {115 if (node.getCoor().equalsEpsilon(ll, ILatLon.MAX_SERVER_PRECISION)) { 115 116 return node; 116 117 }
Note:
See TracChangeset
for help on using the changeset viewer.