On Thu, 2008-09-04 at 09:27 +0000, Erich S. wrote:
> Some minutes ago, I switched to GT 2.5. The effect is that hqsql deliveres 
> wrong
> results (concerning Gauss-Kruger zone 2), 

Let's distinguish *wrong* results which are non-sensical from *bad*
results which are in the ballpark but non-usable because far off. 

The former are generally due to configuration issues such as axes being
flipped in factories or similar problems. It sounds like this is the
kind of issue you are having with hsql. You could confirm that by seeing
if some of the more common, simpler transforms do not work either.

The latter are either limitations of the epsg source (I think, for
example, WKT does not include bursa-wolf parameters so, if they are
needed, you can get imprecisions with your transformations based on the
wkt database), or limitations of the library, ie. we can't yet do
certain kinds of transformations.

Of course, these errors can be due to remaining bugs in the code but
that's an increasingly infrequent issue. 

So, if you have remaining errors and want to chase them down, make sure
you understand (1) what you want to do including the math which should
be happening (2) how to setup the referencing library (see the wiki on
the website) including the factory system and (3) what the results that
you see look like, e.g. what happens to four points which start as a box
or when you flip the input coordinates.


> while wkt results look plausible. For
> this I will use GT 2.5.
> Nearby: Is there any disadvantage using wkt instead of hqsql?

yes, it's on the way out; it includes fewer entries; it is based on an
older database, and, I think, does not include the more complex
parameters required for precise computations of certain operations. 

But look on the web site, there are probably details there.
http://docs.codehaus.org/display/GEOTDOC/09+Referencing+Authority
+Factories
http://docs.codehaus.org/display/GEOTDOC/EPSG+WKT+Plugin
http://docs.codehaus.org/display/GEOTDOC/EPSG+HSQL+Plugin

well, we should do a better job of describing those. I'll ask someone
who understands the differences between the four jars better than I do
to improve that text.
--adrian



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to