[Geoserver-users] Custom DataStores

I don't see those classes.

I've downloaded GeoTools 2.5.1 from Maven.

I have the following files:

Gt-gml 2.5.1
Gt-main 2.5.1
Gt-api 2.5.1
Gt-referencing 2.5.1
Vecmath 1.3.1
Gt-metadata 2.5.1
Geoapi 2.2-M1
Gt-sample-data 2.5.1
Gt-xml 2.5.1
Jsr275 1.0-beta-2

-----Original Message-----
From: Andrea Aime [mailto:aaime@anonymised.com]
Sent: Monday, February 16, 2009 11:29 PM
To: Patel, Ronak Avinash (US SSA)
Cc: Justin Deoliveira; geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Custom DataStores

Patel, Ronak Avinash (US SSA) ha scritto:

Justin,

Which version of GeoTools should I be using?

Version 2.5.1? Version 2.3.0?

Version 2.5.1 does not have the AbstractGridFormat and
AbstractGridCoverage2DReader classes.

Each GeoServer series works against a specific GeoTools
brach.
GeoServer 1.7.x works against the GeoTools 2.5.x branch.
Each time we release GeoServer we make a parallel release
of GeoTools, since most of the fixes/improvements we
make require a significant number of changes in gt2.
This means that if you want to work against a GeoServer
1.7.x branch checkout, you need to work against the
GeoTools 2.5.x branch checkout as well.
If you want to work against releases, you need to pick
the correct GeoTools release, for example, GeoServer
1.7.2 was released against GeoTools 2.5.3.
The 2.3.x GeoTools series was used in GeoServer 1.5.x,
which is long gone.

The classes you're mentioning are definitely still
there in my GeoTools checkout.
Oh, if you want to create support for a simple
format have a look at the gtopo30 raster format
classes in GeoTools, they are probably the simplest
example you can find around.
If you want something comprehensive instead, look
at the GeoTiff related classes. They are both
in their own module under the geotools checkout,
modules/plugin folder.

Cheers
Andrea

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