|
From: Yingqi T. <ana...@gm...> - 2010-08-26 14:01:43
|
Thanks for the explanation, Ben.
A follow up question though, when I follow the steps in GeoTools "Get
Started" and include the gt-jdbc-postgis as a dependency in pom.xml like
below:
<dependency>
<groupId>org.geotools</
groupId>
<artifactId>gt-jdbc-postgis</artifactId>
<version>2.7-SNAPSHOT</version>
</dependency>
If I run "mvn install", I will get an error saying gt-jdbc-postgis missing
or can not be found in the repository, something like that. Actually if you
go to
http://download.osgeo.org/webdav/geotools/org/geotools/gt-jdbc-postgis/,
there is no jar file there, and also if I build GeoTools from source code
myself the gt-jdbc-postgis will not be added into my local .m2 folder
either.
Anyone know what is the reason for that?
On Wed, Aug 25, 2010 at 8:03 PM, Ben Caradoc-Davies
<Ben...@cs...> wrote:
> On 26/08/10 05:39, Yingqi Tang wrote:
>
>> I'm trying to create a sample of using GeoTools reading features from
>> PostGIS. Now I find there are two related modules gt-postgis and
>> gt-jdbc-postgis, so just wonder what's the difference and which one should I
>> use?
>>
>
> gt-postgis is the old PostGIS module.
>
> gt-jdbc-postgis is the new PostGIS module, and is part of a suite of jdbc
> modules that share common code and have improved features.
>
> You should use gt-jdbc-postgis.
>
> Kind regards,
> Ben.
>
> --
> Ben Caradoc-Davies <Ben...@cs...>
> Software Engineering Team Leader
> CSIRO Earth Science and Resource Engineering
> Australian Resources Research Centre
>
|