GeoTools

OSGeo

Monday, December 24, 2012

GeoTools 8.5 released

The GeoTools community is pleased to announce the availability of GeoTools 8.5 for download from source forge:
This release is also deployed to the OSGeo Maven Repository. For more information on setting up your project with Maven consult the Quickstart.

About GeoTools 8.5

This is a bug fix release containing a number of fixes and improvements, including:

  • several fixes to rendering transformations allowing several transformations to be chained together  in the same rendering request (e.g., interpolate values from discrete points and then also extract isolines from it)
  • fixes to date/time handling in CQL
  • spotted and fixed a deadlock in the rendering subsystem happening if the renderer gets abruptly stopped while working against a very fast data source (or a very slow Graphics2D implementation)
  • a new PullParser class allowing for better streaming parsing of large amounts of XML (e.g., GML, KML)
  • better handling of raster "no data" during reprojection, avoiding border artifacts in the results
  • a new Oracle specific filter function exposing Oracle spatials's K nearest neighbor search
Full details are available in Jira's release notes.



Upgrading from GeoTools 2.7

For those migrating from GeoTools 2.7, upgrade instructions are available. No additional GeoTools 2.7 released are scheduled. 

Thanks for using GeoTools, and Enjoy!


The GeoTools Community
http://geotools.org

Monday, November 26, 2012

GeoTools 8.4 Released


The GeoTools team is pleased to annonce the release of GeoTools 8.4, available for download from SourceForge:
This release is also deployed to the OSGeo Maven Repository. For more information on setting up your project with Maven consult the Quickstart.

About GeoTools 8.4

GeoTools 8.4 is primarily a bug fix release containing some good fixes:
  • [GEOT-4161] - UOM based symbolizers should not be affected by DPI rescaling
  • [GEOT-4293] - Nullpointer from FeatureHandler from FeatureJson
  • [GEOT-4311] - Relative url in external graphic doesn't resolve
  • [GEOT-4186] - Avoid NPE when calling ExternalGraphics.setLocation() with a null location
  • [GEOT-4269] - Harden Renderer calculateScale routine against bad source CRSes
  • [GEOT-4301] - A fix for the missing CRS info on the parsed GML2 document
  • [GEOT-4040] - Support PostgreSQL 9 hex bytea output format to avoid massive data corruption
A number of these improvements came in from the community via GitHub pull request:
We would like thank Milton Jonathan, Gerson Gerlang, Davide Savazzi, Sebastian Graca for their contributions. 

Upgrading from GeoTools 2.7

For those migrating from GeoTools 2.7, upgrade instructions are available. No additional GeoTools 2.7 released are scheduled. 

Thanks for using GeoTools.


Friday, November 16, 2012

FeatureCollection cleanup

The FeatureCollection cleanup proposal is now complete. The first batch of work went into the GeoTools 8.0 release, this second phase removes several methods from FeatureCollection. These methods were not widely implemented, and as a result not adopted by client code.
Upgrade instructions are available: As part of this work Andrea provided an extensive review of the existing FeatureCollection implementations and a number of utility methods have been introduced to make working with features easier:
  • DataUtilities.visit( FeatureCollection, FeatureVisitor, ProgerssListener )
  • DataUtilities.bounds( FeatureCollection ) // Already existed
  • DataUtilities.bounds( FeatureIterator )
  • DataUtilities.count( FeatureCollection )
  • DataUtilities.count( FeatureIterator )
  • DataUtilities.close( Iterator )
  • DataUtilities.first( SimpleFeatureCollection ): SimpleFeature
  • DataUtilities.first( FeatureCollection ): F
  • DataUtilities.list( FeatureCollection ): List  // Already existed 
  • DataUtilities.list( FeatureCollection, int ): List
  • DataUtilities.iterator( FeatureIterator ): Iterator // also Closable 
  • DataUtilities.collectionCast( FeatureCollection ): Collection
For additional information, and an overview of the FeatureCollection implementations please review the detailed change proposal.
If you cannot make the transition today:
  • A milestone 9.0-M0 release has been deployed to maven. 
  • To switch your maven pom.xml over to 9.0-M0:
    <properties>
       <geotools.version>9.0-M0</geotools.version>
    </properties>
    ...
    <dependency>
      <groupId>org.geotools</groupId>
      <artifactId>gt-main</artifactId>
      <version>${geotools.version}</version>
    </dependency>
    
  • You can use this milestone release as a rest area until you have time to upgrade.
One of the joys of working on a large stable project such as GeoTools is the gradual change of pace, and the careful planning that goes into keeping projects working together:
  • The initial GeoTools 2.0 rewrite provided a clear FeatureResults API acting in a fashion similar to a JDBC ResultSet.
  • GeoTools 2.1 introduced FeatureCollection as a superclass of FeatureResults, bringing in the java.util.Collection methods being removed today. This was motivated by an amusing Bring Back FeatureCollection rant from our founder James MacGill - well we tried James and it was a bad idea.
  • The transition to Java 5 forced us to remove direct use of the java.util.Collection interface, however we kept the methods for backwards compatibility. It was too easy to introduce a resource leak with the Java 5 for-each syntax:
for( Feature feature : featureCollection ){
    System.out.println( feature.getID() );
}
  • With todays change GeoTools programs are ready for the Java 7 try-with-resource syntax as shown below:
try( FeatureIterator iter=featureCollection.features() ){
   while( iter.hasNext() ){
        Feature feature = iter.next();
        System.out.println( feature.getID() );
   }
}

Sunday, October 28, 2012

GeoTools 8.3 Released

The GeoTools community is pleased to anounce the release of GeoTools 8.3, available for download from SourceForge:
This release is also deployed to the OSGeo Maven Repository. For more information on setting up your project with Maven consult the Quickstart.
Thanks for using GeoTools.
------
The GeoTools Community

About GeoTools 8.3

GeoTools 8.3 is a stable release focused on bug fixes and improvements:
Bug fixes:
  • [GEOT-4024] - shapefile-ng build fails due to failing tests
  • [GEOT-4204] - Intermittent JDBCJoinTest failures
  • [GEOT-4257] - getBounds in MemoryDataStore throws NPE when store contains features with null geometries
  • [GEOT-4258] - envelope returned by MemoryDataStore getBounds has no coordinate reference system set
  • [GEOT-4266] - Contour Process fails to output value attribute when smoothing is enabled
  • [GEOT-4275] - Heatmap RT does not clip input points correctly
  • [GEOT-4279] - NADCON grid shift factory does not release channels on grid files
  • [GEOT-4287] - Anonymous types handling are broken in app-schema
Improvements
  • [GEOT-4160] - Support parsing srsName in OGC HTTP URI format
  • [GEOT-4264] - Introduce SortBy Clause on ImageMosaicReader
  • [GEOT-4265] - Provide a default granules order on ImageMosaic creation
  • [GEOT-4270] - Make all MouseDragBox methods public
  • [GEOT-4271] - Create new arrow shape suitable for winds and currents
  • [GEOT-4278] - Allow encoding of null value properties in the GeoJSON document
A number of improvements came in from the community via GitHub pull request. Thanks to all who submitted a contribution:
  • Christian for bringing Postgis raster documentation up to date and Adapt PG raster online tests
  • Martin Davis GEOT-4275 (Heatmap RT does not clip input points correctly)
  • Carlo Cancellieri GEOT-4264 (Introduce SortBy Clause on ImageMosaicReader)
  • Michael Bedward GEOT-4270 (Made MouseDragBox constructor and methods public)
  • Sebastian Graca GEOT-4257 (getBounds in MemoryDataStore throws NPE when store contains features with null geometries) and GEOT-4258 (envelope returned by MemoryDataStore getBounds has no coordinate reference system set)

Upgrading from GeoTools 2.7

Upgrade instructions are available for those upgrading from GeoTools 2.7.

Thursday, September 20, 2012

GeoTools 8.2 Released

The GeoTools community is pleased to annonce the release of GeoTools 8.2, available for download from SourceForge:
This release is also deployed to the OSGeo Maven Repository. For more information on setting up your project with Maven consult the Quickstart.

About GeoTools 8.2

GeoTools 8.2 is primarily a bug fix release with the following issues being fixed:
  • GEOT-4230 - Histogram operation does not pass through low,high,numBin parameters
  • GEOT-4254 - CustomPaletteBuilder dies on translate BufferedImage
  • GEOT-4255 - Reprojecting feature collection fails if bursa-wolf params are missing in either source or target crs
  • GEOT-4263 - TimeParser in ImageMosaic is too lenient
  • GEOT-4005 - Provide logging for cascaded WMS queries
A number of improvements came in from the community via GitHub pull request. Thanks to all who submitted a contribution:

Upgrading from GeoTools 2.7

For those migrating from GeoTools 2.7, upgrade instructions are available. No additional GeoTools 2.7.x releases are scheduled. 


Thanks for using GeoTools.
--
The GeoTools Team

Sunday, September 16, 2012

GeoTools 8.1 Released


The Geotools community is pleased to announce the release of Geotools 8.1 to  sourceforge downloads:
This release is also deployed to our OSGeo Maven Repository. For more information on setting up your project with Maven, see the Quickstart  included in the user guide.

We would like to thank all the developers, users and contributor that have helped to make this release possible.

Enjoy,
The GeoTools Community
http://geotools.org

About GeoTools 8.1

Geotools 8.1 is a stable release made in conjunction with GeoServer 2.2-RC3 and uDig 1.3.2.

This is a bug fix release with a small number of improvements:
  • [GEOT-4126] App-schema: Enable specifying row number in getting sourceExpressionw for denormalised rows
  • [GEOT-4216] Add SplitPolygon, Polygonize processes
  • [GEOT-4217] H2DataStoreFactory does not create a manageable data source
  • [GEOT-4236] Allow external PRJ to override internal CRS definition
  • For additional information (and 11 bug fixes) please see the GeoTools 8.1 Release Notes.

About The GeoTools 8 Series

The GeoTools 8 is the stable release series recommended for production systems.

New features available in Geotools 8:
For those migrating from GeoTools 2.7, upgrade instructions are available. No additional GeoTools 2.7.x releases are scheduled.

Monday, August 6, 2012

Geotools 8.0 Released


The Geotools community is pleased to announce the availability of Geotools 8.0 for download on sourceforge.
If you are using Maven, this release is deployed to our OSGeo Maven Repository:

For more information on setting up your project with Maven, see the Quickstart (included in the user guide documentation pack above).

Geotools 8.0 is a stable release made in conjunction with GeoServer 2.2-RC2 and GeoWebCache 1.3-RC4. Currently there are no additional updates to 2.7.x planned.

Geotools 8.0 comes feature packed compared to its 2.7.x releases. Highlights include:
More information can be found by checking out the proposals made for this release here.

For those migrating from GeoTools 2.7, additional instructions are available here.

We would like to take the opportunity to thank all the developers, users and contributor that have helped to make this release possible.

Enjoy,
The GeoTools Community
http://geotools.org

Tuesday, July 3, 2012

GeoTools 8.0 RC2 Released


The Geotools community is pleased to announce the availability of Geotools 8.0-RC2 for download on sourceforge.
If you are using Maven, this release is deployed to our OSGeo Maven Repository:

For more information on setting up your project with Maven, see the Quickstart (included in the userguide documentation pack above).

The release includes plenty of bug fixes and improvements. Highlights include:
  • support for Postgis 2.0.
  • Add option to forgo encoding srsDimension on gml geometries and envelopes.
  • Rendering Transformation process to allow on-the-fly heatmap visualization.
  • Support encoding of GML srsName in urn:ogc format.
For more information on the release, check out the release notes for all the details.

This will also be the last release made from SVN because Geotools is moving to Github. A big thank you to OSGeo System Admin Committee for hosting the SVN repository

We would like to take the opportunity to thank all the developers, users and contributor that have helped to make this release possible.

Enjoy,
The GeoTools Community
http://geotools.org

GeoTools on GitHub

As a follow up to our earlier post, GeoTools considering a switch to git, we are pleased to report a successful transition to GitHub last weekend (Happy Canada Day).
Network Graph Showing 2.7, 8.0 and future "master" 9.0 development
The change proposal, Transition to GitHub, has the details on what was involved in changing over.

A massive thanks to Justin DeOlivera for setting up the origional GitHub mirror, transitioning the committer list over to GitHub, updating the build boxes to checkout from the new repository, the release scripts to tag correctly and so forth. With any transition supporting the developer community is critical, and Justin has done a great job answering questions about git (and filling in lots of docs with the details).

GeoTools on github:
Updated user-guide build instructions:
Updated developers guide procedures:

Monday, June 4, 2012

GeoTools 2.7.5 released


GeoTools 2.7.5 Released

The GeoTools community is pleased to announce the release of GeoTools 2.7.5, available for download:
Those using maven should see the Quickstart for details on using the OSGeo maven repository.

This release includes 62 between bug fixes and improvements. Some of the highlights include:
  • spatial filtering within SLD works fine also when using coordinate reprojection
  • a new GeometryBuilder that makes it easier to create geometries from code
  • better 2.5D data support, including database support and output encoding in GML and JSON (expect more work in this area)
  • improved SQL Server data store
  • more robust HSQL EPSG database (can recover from connection losses)
  • a set of small improvements to the WFS data store
  • a new version of the OGR data store in unsupported land based on the BridJ library
And much more. Check out the release notes for all the details.

We also want to take the occasion to thanks the hard work of all core developers, and a special mention to non core developers that contributed patches and code to GeoTools:
  • Jared Erickson, for adding new filter functions (minimum circle, minimum rectangle
  • Ken Bisland, for a better SRID lookup logic in SQL Server
  • Oscar Fonts, for the similarity transformation
  • Shane StClair, for adding UUID support in DataUtilities and shapefile output, and fix a timezone issue in time conversion
  • Jan De Moerloose, for making GeoTools work better within GWT apps, making SLD resource locators pluggable, and fixing handling of some spatial filtes in FilterDomParser
Enjoy,

The GeoTools Community
http://geotools.org

Sunday, May 27, 2012

GeoTools 8.0 RC1 Released

The GeoTools community is pleased to announce the availability of GeoTools 8.0-RC1 for download from source forge: If you are using Maven this release is deployed to our OSGeo Maven Repository: For more information on setting up your project with Maven see the Quickstart (included in the userguide documentation pack above).

This is a release candidate made in conjunction with GeoServer 2.2 beta and uDig 1.3.2.

As a release candidate we are pleased to showcases all the great improvements made for GeoTools 8.0 including docs, swing and core datastore improvements to support wfs2. On its own 8.0-RC1 is a jam-packed release with 65 fixes or improvements:
  • Upgraded to the latest ImageIO-Ext 1.1.3
  • Shapefile "next generation" support with sorting
  • A handy GeometryBuilder for fluent programming creation of geometries
  • For more details see the GeoTools 8.0-RC1 Release Notes
We would also like to welcome two new committers to the project:
  • David Winslow who is a GeoServer committer and also the lead of the GeoNode project. David has proposed a number of solid patches over the years and most recently some work on the TransformerBase class to allow it to do buffered writing with mark/reset capabilities.
  • Martin Davis has been putting forth some great patches as of late, most recently centered around supporting 3/2.5D data making its way through the entire "stack".
Thanks to the GeoTools tribe for starting up the release train. We are looking forward to GeoTools 8.0 being available.

Enjoy,
The GeoTools Community
http://geotools.org

Tuesday, January 31, 2012

GeoTools considering a switch to Git

Hi all,
the GeoTools developers have been working, so far, with Subversion as the main version control system. However various core developers have been using Git as a SVN client for quite some time so far, and an official mirror of Geotools, automatically kept in synch with Subversion, is already available on GitHub.

We are now considering switching permantently from Subversion to Git, meaning the Subversion repository will eventually be abandoned and only the Git official central repo will be kept up to date.
Before making such move we'd like to hear from the users community, please take one minute to share your opinion about the switch to Git:

Tuesday, January 24, 2012

AURIN Job Openings

Many of the best known GeoTools examples are popular open source projects. If you follow our user list, you will know that GeoTools is used in a wide range of environments and settings.

With that in mind, we are happy to pass along a couple of job openings from Martin Tomko and the Australian Urban Research Infrastructure Network (AURIN):
GeoTools experience is a plus; and tell Martin we sent you.

If you have a GeoTools related job post you would like us to pass along, please contact your nearest PMC member and we would be glad to help.