GeoTools

OSGeo

Saturday, June 18, 2016

GeoTools 14.4 released

The GeoTools team is pleased to announce the release of  GeoTools 14.4:

This release was made by Andrea Aime (GeoSolutions) and Alessandro Parma (GeoSolutions) in conjunction with GeoServer 2.8.4.

GeoTools 14.4 is the latest stable release of the 14.x series and is recommended for all new projects.


New features available in this release:
  • [GEOT-5375] - Add a group by visitor (backport 14.x)


For more details on the improvements and fixes, please refer to the release notes for GeoTools 14.4


About GeoTools 14

GeoTools 14 highlights:
For more information see the  14-M014-M114-beta14-RC1, 14.014.1, 14.2 and 14.3 release notes.

Friday, June 10, 2016

GeoTools Header Policy Updated

GeoTools Developers Guide on source code conventions has been updated with a new policy on file headers (exciting I know).

GeoTools will now focus on filling in headers with the current year on initial file creation ... and that is it.
/**    GeoTools - The Open Source Java GIS Toolkit*    http://geotools.org**    (C) 2016, Open Source Geospatial Foundation (OSGeo)**    This library is free software; you can redistribute it and/or*    modify it under the terms of the GNU Lesser General Public*    License as published by the Free Software Foundation;*    version 2.1 of the License.**    This library is distributed in the hope that it will be useful,*    but WITHOUT ANY WARRANTY; without even the implied warranty of*    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU*    Lesser General Public License for more details.*/
Previously we asked contributors to update the headers each time they modified a file resulting in a date range at the top of each file. While not technically difficult this was constant chore for committers. More importantly this caused friction reviewing incoming pull requests (as shown by a github search).



We have approached the OSGeo Board and gotten approval to bounce this change off legal council. It is hoped that other OSGeo projects can benefit from being more relaxed.

Thanks to Justin for writing up the change proposal and steering this conversation on the mailing list.

Monday, May 30, 2016

GeoTools 15.0 Released

The GeoTools team is pleased to announce GeoTools 15.0!
This release is also available from our Maven repository. Java 8 is now required, please view the install guide for details. This release is made by Jody Garnett and Devon Tucker (Boundless) in conjunction with GeoWebCache 1.9.0 and GeoServer 2.9.0

Features and improvements

    Java 8

    As previously mentioned GeoTools 15.0 now requires Java 8, meaning GeoTools developers get to use all its fun new features. Projects are advised to update their Maven POM in order to use Java 8 features:
                <plugin>
                    <inherited>true</inherited>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <configuration>
                        <source>1.8</source>
                        <target>1.8</target>
                    </configuration>
                </plugin>
    


    GroupByVisitor 

    A new FeatureCollection aggregation visitor has been added: GroupByVisitor which behaves like the SQL Group By clause:
    SimpleFeatureType buildingType = ...;
    FeatureCollection featureCollection = ...;
    
    GroupByVisitor visitor = new GroupByVisitorBuilder()
                      .withAggregateAttribute("energy_consumption", buildingType)
                      .withAggregateVisitor("Average")
                      .withGroupByAttribute("building_type", buildingType)
                      .build();
    
    featureCollection.accepts(visitor, new NullProgressListener());
    
    CalcResult result = visitor.getResult();

    Perpendicular Offset

    Perpendicular offset styling is now available for lines.
           
           <LineSymbolizer>
             <Stroke>
               <CssParameter name="stroke">#FF0000</CssParameter>
               <CssParameter name="stroke-dasharray">5 2</CssParameter>
             </Stroke>
             <PerpendicularOffset>5</PerpendicularOffset>
           </LineSymbolizer>
    

    Other Features and Improvements

    • Support sinusoidal projection in GeoTIFF
    • Support Vector footprints in GDAL plugin
    • Add compatibility for negative date and XDate type in JDBC datastore
    • New and improved support for Rotated Pole Projection
    • Allow users to zoom in and out using the mouse scroll wheel in JMapPane

    Bug Fixes

    • ImageWorker equates setting background values to setting NoData
    • JDBCDataStore initialization is now thread-safe
    • GridCoverage2DRIA can leave border operations in the tile cache without disposing them
    • Speed up rendering SVGs as graphic fills over complex geometries
    • SimpleDateFormat string has MONTH (MM) and Minutes (mm) swapped in GeoPackage
    • GeometryClipper can generate polygons without any inner area, laid on the clipping area border
    • ProcessFunctionFactory is not robust to failing processes 
    • Ignore NetCDF grid_mapping_name that is present but unsupported
    And more! For more information see 15.0 release notes and the release notes for previous releases (M0 | Beta 1 | Beta 2 | RC1).

    About GeoTools 15 

    What's new in GeoTools 15:

      Tuesday, May 3, 2016

      GeoTools 15-RC1 Released!

      The GeoTools team is pleased to announce GeoTools 14-RC1:
      This release is also available from our Maven repository.

      This release is made by Torben Barsballe (Boundless) in conjunction with GeoWebCache 1.9-RC1 and GeoServer 2.9-RC1.

      This is a release candidate for final testing before we release 15.0.

      Fixes since beta:
      • FilteringSimpleFeatureCollection breaks visitor optimizations
      • ReprojectFeatureResults/ReprojectFeatureCollection breaks visitor delegation
      • GeometryClipper can generate polygons without any inner area, laid on the clipping area border
      For more information see 15-RC1 release notes.

      Wednesday, March 23, 2016

      GeoTools 14.3 released

      The GeoTools team is pleased to announce the release of GeoTools 14.3:

      This release was made by Andrea Aime (GeoSolutions) in conjunction with GeoServer 2.8.3.

      GeoTools 14.3 is the latest stable release of the 14.x series and is recommended for all new projects.

      Fixes and improvements:
      • Solved a potential deadlock between ReferencingFactoryFinder and BufferedCoordinateOperationFactory, which might trigger when the system is under load
      • Fixes in SLD multifont support
      • Fixed in the new fast GML 3 encoder path, which was not properly encoding pure geometry collections, and data with 3d coordinates
      • Fixed WFSDataStore failing to start if some numeric params are provided as string, and disabled the complex feature version of it, which was errouneusly taking over the simple feature version (resource to complete the complex feature one wanted)
      • Improved parsing GML files with no/invalid schema reference
      • And more ... 
      For more information see the release notes.

      About GeoTools 14

      GeoTools 14 highlights:
      For more information see the 14-M014-M114-beta14-RC1, 14.014.1 and 14.2 release notes.

      Thursday, February 25, 2016

      GeoTools 13.6 released

      GeoTools 13.6 Released


      We are pleased to announce the availability of the GeoTools 13.6 release for immediate download:
      This release is made in conjunction with GeoServer 2.7.6 and is available from our maven repository.  This is the last release of the 13.x series, you're advised to start looking at upgrading to 14.x, which is about to get into maintenance mode, or eventually wait next month and upgrade to the new 15.0 stable.

      Thanks to Andrea Aime (from GeoSolutions) for packaging this release.

      GeoTools 13.6 contains 6 small fixes and improvements compared to 13.5, including some improvements to the WMS client, GeoJSON parsing fixes, corrections in the Cassini-Soldner projection math and one ISO date parsing fix for timestamps with fractional seconds.

      For detailed information about changes please check the release notes.

      About GeoTools 13

      GeoTools 13 features and improvements:

      Monday, January 25, 2016

      GeoTools 14.2 Released

      The GeoTools team is pleased to announce the release of GeoTools 14.2:

      This release was made by Jody Garnett (Boundless) and Jim Hughes (CCRi) in conjunction with GeoServer 2.8.2.

      GeoTools 14.2 is the latest stable release of the 14.x series and is recommended for all new projects.

      Fixes and improvements:
      • The WFSDataStore connection time out settings are now used for read time outs as well
      • Image mosaic support 
      • Stability improvements for ContourProcess, WFS 1.0.0, ImageMosaic use with alpha channel and JDBC DataStore
      • Better support for MultiCurve in GML3 output
      • And more ... 
      For more information see the release notes.

      About GeoTools 14