Dear Jody,
thanks for your reply. The issue has been resolved, following your hints 
in the geotools how-to: I had to delete the temp files created by 
epsg-hsql from previous gt (2.4) builds. All was fine afterwards.

Thanks anyway,
Martin

Jody Garnett wrote:
>
>
> On Wed, Feb 4, 2009 at 1:00 AM, Martin Tomko <[email protected] 
> <mailto:[email protected]>> wrote:
>
>     Dear All
>     I am getting an error when I call:
>     CoordinateReferenceSystem crs = CRS.decode("EPSG:4326");
>     I am using maven and the 2.5-Snapshot geotools. This particular error
>     was triggered when playing around with the FeatureRasterizer that has
>     been posted on this forum last month. The stack trace output is at the
>     end of this email.
>     I do have gt-referencing in my dependencies, as well as gt-epsg-hsql,
>     which results in their correct preseence in the build path
>     (gt-referencing-2.5-SNAPSHOT.jar and gt-epsg-hsql-2.5-SNAPSHOT.jar).
>     There is not other gt-epsg-... jar present.
>     I have tried to comment out gt-epsg-hsql...jar out and add
>     gt-epsg-wkt-... jar. maven dependencies result in the presence of both
>     in the path, as gt-imagemosaic requires epsg-hsql (that's what maven
>     tells me). However, the code works!
>
>
> It should be able to do something as long as their is an epsg jar on 
> the path; my understanding is that it works better if epsg-hsql is 
> used (I switched over to using this for udig recently). I had to putt 
> the force x y system property on for it to work for me :-P but other 
> than that I am working okay.
>
> Given that you are using 2.5.x - why not try the latest stable release?
>
>     Is it possible that there is a bug in the 2.5-SNAPSHOT of the hsql
>     library? EPSG:4326 seems to be such an omnipresent CRS that someone
>     would have noticed... What could be the problem?
>
>
> Sounds like you are using maven; so you already have the hsql driver 
> around right?
> Jody
>


-


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to