Changeset 35122 in osm for applications/editors/josm
- Timestamp:
- 2019-09-26T03:18:53+02:00 (5 years ago)
- Location:
- applications/editors/josm/plugins
- Files:
-
- 30 added
- 33 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/ejml/.classpath
r34125 r35122 4 4 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/> 5 5 <classpathentry combineaccessrules="false" kind="src" path="/JOSM"/> 6 <classpathentry kind="lib" path="lib/ejml-cdense-0.3 2.jar" sourcepath="lib/ejml-cdense-0.32-sources.jar">6 <classpathentry kind="lib" path="lib/ejml-cdense-0.34.jar" sourcepath="lib/ejml-cdense-0.34-sources.jar"> 7 7 <attributes> 8 <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-EJML/lib/ejml-cdense-0.3 2-javadoc.jar!/"/>8 <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-EJML/lib/ejml-cdense-0.34-javadoc.jar!/"/> 9 9 </attributes> 10 10 </classpathentry> 11 <classpathentry kind="lib" path="lib/ejml-core-0.3 2.jar" sourcepath="lib/ejml-core-0.32-sources.jar">11 <classpathentry kind="lib" path="lib/ejml-core-0.34.jar" sourcepath="lib/ejml-core-0.34-sources.jar"> 12 12 <attributes> 13 <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-EJML/lib/ejml-core-0.3 2-javadoc.jar!/"/>13 <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-EJML/lib/ejml-core-0.34-javadoc.jar!/"/> 14 14 </attributes> 15 15 </classpathentry> 16 <classpathentry kind="lib" path="lib/ejml-ddense-0.3 2.jar" sourcepath="lib/ejml-ddense-0.32-sources.jar">16 <classpathentry kind="lib" path="lib/ejml-ddense-0.34.jar" sourcepath="lib/ejml-ddense-0.34-sources.jar"> 17 17 <attributes> 18 <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-EJML/lib/ejml-ddense-0.3 2-javadoc.jar!/"/>18 <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-EJML/lib/ejml-ddense-0.34-javadoc.jar!/"/> 19 19 </attributes> 20 20 </classpathentry> 21 <classpathentry kind="lib" path="lib/ejml-dsparse-0.3 2.jar" sourcepath="lib/ejml-dsparse-0.32-sources.jar">21 <classpathentry kind="lib" path="lib/ejml-dsparse-0.34.jar" sourcepath="lib/ejml-dsparse-0.34-sources.jar"> 22 22 <attributes> 23 <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-EJML/lib/ejml-dsparse-0.3 2-javadoc.jar!/"/>23 <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-EJML/lib/ejml-dsparse-0.34-javadoc.jar!/"/> 24 24 </attributes> 25 25 </classpathentry> 26 <classpathentry kind="lib" path="lib/ejml-experimental-0.3 2.jar" sourcepath="lib/ejml-experimental-0.32-sources.jar">26 <classpathentry kind="lib" path="lib/ejml-experimental-0.34.jar" sourcepath="lib/ejml-experimental-0.34-sources.jar"> 27 27 <attributes> 28 <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-EJML/lib/ejml-experimental-0.3 2-javadoc.jar!/"/>28 <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-EJML/lib/ejml-experimental-0.34-javadoc.jar!/"/> 29 29 </attributes> 30 30 </classpathentry> 31 <classpathentry kind="lib" path="lib/ejml-fdense-0.3 2.jar" sourcepath="lib/ejml-fdense-0.32-sources.jar">31 <classpathentry kind="lib" path="lib/ejml-fdense-0.34.jar" sourcepath="lib/ejml-fdense-0.34-sources.jar"> 32 32 <attributes> 33 <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-EJML/lib/ejml-fdense-0.3 2-javadoc.jar!/"/>33 <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-EJML/lib/ejml-fdense-0.34-javadoc.jar!/"/> 34 34 </attributes> 35 35 </classpathentry> 36 <classpathentry kind="lib" path="lib/ejml-simple-0.3 2.jar" sourcepath="lib/ejml-simple-0.32-sources.jar">36 <classpathentry kind="lib" path="lib/ejml-simple-0.34.jar" sourcepath="lib/ejml-simple-0.34-sources.jar"> 37 37 <attributes> 38 <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-EJML/lib/ejml-simple-0.3 2-javadoc.jar!/"/>38 <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-EJML/lib/ejml-simple-0.34-javadoc.jar!/"/> 39 39 </attributes> 40 40 </classpathentry> 41 <classpathentry kind="lib" path="lib/ejml-zdense-0.3 2.jar" sourcepath="lib/ejml-zdense-0.32-sources.jar">41 <classpathentry kind="lib" path="lib/ejml-zdense-0.34.jar" sourcepath="lib/ejml-zdense-0.34-sources.jar"> 42 42 <attributes> 43 <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-EJML/lib/ejml-zdense-0.3 2-javadoc.jar!/"/>43 <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-EJML/lib/ejml-zdense-0.34-javadoc.jar!/"/> 44 44 </attributes> 45 45 </classpathentry> -
applications/editors/josm/plugins/ejml/README
r34126 r35122 4 4 * Licensed under GPL v3 (see LICENSE) 5 5 6 The current embedded version of EJML is 0.3 2 (version needed by GeoTools, see https://osgeo-org.atlassian.net/browse/GEOT-5300).6 The current embedded version of EJML is 0.34 (version needed by GeoTools, see https://osgeo-org.atlassian.net/browse/GEOT-6384). -
applications/editors/josm/plugins/jts/.classpath
r34524 r35122 4 4 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/> 5 5 <classpathentry combineaccessrules="false" kind="src" path="/JOSM"/> 6 <classpathentry exported="true" kind="lib" path="lib/jts-core-1.1 4.0.jar" sourcepath="lib/jts-core-1.14.0-sources.jar">6 <classpathentry exported="true" kind="lib" path="lib/jts-core-1.16.1.jar" sourcepath="lib/jts-core-1.16.1-sources.jar"> 7 7 <attributes> 8 <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-jts/lib/jts-core-1.1 4.0-javadoc.jar!/"/>8 <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-jts/lib/jts-core-1.16.1-javadoc.jar!/"/> 9 9 </attributes> 10 10 </classpathentry> 11 <classpathentry exported="true" kind="lib" path="lib/jts-io- 1.14.0.jar" sourcepath="lib/jts-io-1.14.0-sources.jar">11 <classpathentry exported="true" kind="lib" path="lib/jts-io-common-1.16.1.jar" sourcepath="lib/jts-io-common-1.16.1-sources.jar"> 12 12 <attributes> 13 <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-jts/lib/jts-io-1.14.0-javadoc.jar!/"/> 14 </attributes> 15 </classpathentry> 16 <classpathentry exported="true" kind="lib" path="lib/jts-example-1.14.0.jar" sourcepath="lib/jts-example-1.14.0-sources.jar"> 17 <attributes> 18 <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-jts/lib/jts-example-1.14.0-javadoc.jar!/"/> 13 <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-jts/lib/jts-io-common-1.16.1-javadoc.jar!/"/> 19 14 </attributes> 20 15 </classpathentry> -
applications/editors/josm/plugins/jts/src/org/openstreetmap/josm/plugins/jts/JTSConverter.java
r35064 r35122 9 9 import org.openstreetmap.josm.data.osm.Way; 10 10 11 import com.vividsolutions.jts.geom.Coordinate;12 import com.vividsolutions.jts.geom.CoordinateSequence;13 import com.vividsolutions.jts.geom.Geometry;14 import com.vividsolutions.jts.geom.GeometryFactory;15 import com.vividsolutions.jts.geom.LineString;16 import com.vividsolutions.jts.geom.LinearRing;17 import com.vividsolutions.jts.geom.Point;18 import com.vividsolutions.jts.geom.Polygon;19 import com.vividsolutions.jts.geom.PrecisionModel;20 import com.vividsolutions.jts.geom.impl.CoordinateArraySequence;11 import org.locationtech.jts.geom.Coordinate; 12 import org.locationtech.jts.geom.CoordinateSequence; 13 import org.locationtech.jts.geom.Geometry; 14 import org.locationtech.jts.geom.GeometryFactory; 15 import org.locationtech.jts.geom.LineString; 16 import org.locationtech.jts.geom.LinearRing; 17 import org.locationtech.jts.geom.Point; 18 import org.locationtech.jts.geom.Polygon; 19 import org.locationtech.jts.geom.PrecisionModel; 20 import org.locationtech.jts.geom.impl.CoordinateArraySequence; 21 21 22 22 /** … … 84 84 public Point convertNode(Node node) { 85 85 Coordinate[] coords = {convertNodeToCoordinate(node)}; 86 return new com.vividsolutions.jts.geom.Point(new CoordinateArraySequence(coords), getGeometryFactory());86 return new org.locationtech.jts.geom.Point(new CoordinateArraySequence(coords), getGeometryFactory()); 87 87 } 88 88
Note:
See TracChangeset
for help on using the changeset viewer.