Hi all,
today I've updated the HSQL database to version 7.1 and added
support for the official Google projection code, 3875.

The HSQL database has been hardened quite a bit, now instead
of runing a series of SQL scripts a pre made database, zipped
in the classpath, is unpacked on the file system:
- first a NIO lock is acquired to make sure no one else
   is unpacking the database at the same time
- then the db is unpacked
- then a file that marks the successful creation is created

If the marker file exist, then there is guarantee the database
was correctly created. If not, the database will be unpacked
again overwriting the previous file: no more partial databases
because the user killed the process during the database creation.

The database is unpacked in a directory that contains the
version number in the name, this allows older and newer applications
to coexist: the old code upgraded the database and kept just
one copy, usually breaking the application using the older
version of GeoTools (various changes to the referencing subsystem
were necessary to make it work with the new database, they were
done time ago when the H2 version was first committed).

And oh, the unpacking is so fast that one can barely notice
it, no more long waits the first time one starts GS on a new
system (or in a situation where the /tmp was used and /tmp
is cleaned up fully at each restart, such as in Ubuntu).

Support for 3857 was also added and tests were put in place
to ensure the projection works exactly like the old
one.

GeoTools wise this has been done on trunk, GeoServer wise
the same, and we'll release the first version of it with
2.0-RC2

I'll continue working on the H2 version of the provider
and eventually add the same improvement worked for HSQL,
with the intention of making it better and eventually
make H2 the default one.

Please test and let me know

Cheers
Andrea

-- 
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to