Ignore:
Timestamp:
2018-04-08T02:35:46+02:00 (7 years ago)
Author:
donvip
Message:

update to GeoTools 19.0, fix javadoc warnings

Location:
applications/editors/josm/plugins/OsmInspectorPlugin
Files:
9 added
9 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/OsmInspectorPlugin/.classpath

    r32680 r34143  
    66        <classpathentry combineaccessrules="false" kind="src" path="/JOSM-jts"/>
    77        <classpathentry combineaccessrules="false" kind="src" path="/JOSM-GeoTools"/>
    8         <classpathentry kind="lib" path="lib/commons-collections-3.1.jar"/>
     8        <classpathentry kind="lib" path="lib/commons-collections-3.2.2.jar"/>
    99        <classpathentry kind="lib" path="lib/commons-jxpath-1.3.jar"/>
    10         <classpathentry kind="lib" path="lib/gt-app-schema-resolver-12.1.jar">
     10        <classpathentry kind="lib" path="lib/gt-app-schema-resolver-19.0.jar">
    1111                <attributes>
    1212                        <attribute name="javadoc_location" value="http://docs.geotools.org/stable/javadocs/"/>
    1313                </attributes>
    1414        </classpathentry>
    15         <classpathentry kind="lib" path="lib/gt-cql-12.1.jar">
     15        <classpathentry kind="lib" path="lib/gt-cql-19.0.jar">
    1616                <attributes>
    1717                        <attribute name="javadoc_location" value="http://docs.geotools.org/stable/javadocs/"/>
    1818                </attributes>
    1919        </classpathentry>
    20         <classpathentry kind="lib" path="lib/gt-render-12.1.jar">
     20        <classpathentry kind="lib" path="lib/gt-render-19.0.jar">
    2121                <attributes>
    2222                        <attribute name="javadoc_location" value="http://docs.geotools.org/stable/javadocs/"/>
    2323                </attributes>
    2424        </classpathentry>
    25         <classpathentry kind="lib" path="lib/gt-referencing3D-12.1.jar">
     25        <classpathentry kind="lib" path="lib/gt-referencing3D-19.0.jar">
    2626                <attributes>
    2727                        <attribute name="javadoc_location" value="http://docs.geotools.org/stable/javadocs/"/>
    2828                </attributes>
    2929        </classpathentry>
    30         <classpathentry kind="lib" path="lib/gt-wfs-12.1.jar">
     30        <classpathentry kind="lib" path="lib/gt-wfs-ng-19.0.jar">
    3131                <attributes>
    3232                        <attribute name="javadoc_location" value="http://docs.geotools.org/stable/javadocs/"/>
    3333                </attributes>
    3434        </classpathentry>
    35         <classpathentry kind="lib" path="lib/gt-xml-12.1.jar">
     35        <classpathentry kind="lib" path="lib/gt-xml-19.0.jar">
    3636                <attributes>
    3737                        <attribute name="javadoc_location" value="http://docs.geotools.org/stable/javadocs/"/>
    3838                </attributes>
    3939        </classpathentry>
    40         <classpathentry kind="lib" path="lib/gt-xsd-core-12.1.jar">
     40        <classpathentry kind="lib" path="lib/gt-xsd-core-19.0.jar">
    4141                <attributes>
    4242                        <attribute name="javadoc_location" value="http://docs.geotools.org/stable/javadocs/"/>
    4343                </attributes>
    4444        </classpathentry>
    45         <classpathentry kind="lib" path="lib/gt-xsd-wfs-12.1.jar">
     45        <classpathentry kind="lib" path="lib/gt-xsd-wfs-19.0.jar">
    4646                <attributes>
    4747                        <attribute name="javadoc_location" value="http://docs.geotools.org/stable/javadocs/"/>
  • applications/editors/josm/plugins/OsmInspectorPlugin/src/org/openstreetmap/josm/plugins/osminspector/GeoFabrikWFSClient.java

    r33793 r34143  
    121121                this.data = data;
    122122        }
    123 
    124         /**
    125          * @param args
    126          */
    127         public static void main(String[] args) {
    128 
    129                 // try {
    130                 // CoordinateReferenceSystem targetCRS = CRS.decode("EPSG:4326");
    131                 // GeoFabrikWFSClient theTest = new GeoFabrikWFSClient( new
    132                 // Bounds(-124.0, -120.0, 32.0, 36.0));
    133                 // theTest.initializeDataStore();
    134                 // FeatureCollection<SimpleFeatureType, SimpleFeature> features =
    135                 // theTest.getFeatures();
    136                 // OsmInspectorLayer inspector = new OsmInspectorLayer(
    137                 // theTest.getData());
    138                 // inspector.setVisible(true);
    139 
    140                 // ReferencedEnvelope bounds = new ReferencedEnvelope();
    141                 // Iterator<SimpleFeature> iterator = features.iterator();
    142                 // try {
    143                 // while (iterator.hasNext()) {
    144                 // Feature feature = iterator.next();
    145                 // bounds.include(feature.getBounds());
    146                 // }
    147                 // Main.info("Calculated Bounds:" + bounds);
    148                 // } finally {
    149                 // features.close(iterator);
    150                 // }
    151                 // } catch (Exception e) {
    152                 // // TODO Auto-generated catch block
    153                 // e.printStackTrace();
    154                 // }
    155         }
    156123}
  • applications/editors/josm/plugins/OsmInspectorPlugin/src/org/openstreetmap/josm/plugins/osminspector/OsmInspectorLayer.java

    r34142 r34143  
    331331        private static final float POINT_SIZE = 10.0f;
    332332
    333         /**
    334          *
    335          * @param wfsClient
    336          * @throws NoSuchAuthorityCodeException
    337          * @throws FactoryException
    338          * @throws IOException
    339          * @throws IndexOutOfBoundsException
    340          * @throws ParseException
    341          */
    342333        public OsmInspectorLayer(GeoFabrikWFSClient wfsClient,
    343334                        ProgressMonitor monitor) throws NoSuchAuthorityCodeException,
     
    393384        }
    394385
    395         /**
    396          *
    397          * @param wfsClient
    398          * @throws NoSuchAuthorityCodeException
    399          * @throws FactoryException
    400          * @throws IOException
    401          * @throws ParseException
    402          * @throws NoSuchElementException
    403          * @throws IndexOutOfBoundsException
    404          */
    405386        public void loadFeatures(GeoFabrikWFSClient wfsClient)
    406387                        throws NoSuchAuthorityCodeException, FactoryException, IOException,
Note: See TracChangeset for help on using the changeset viewer.