Milton Jonathan a écrit :
> As a note to whoever is reading this and has the same problem: while 
> debugging I ended up seeing that I had to change the return value for 
> the 9108 code, although my original EPSG code was 4291. Not sure why, 
> though..

When the code construct the CRS for EPSG code 4291, the construction is 
splitted 
into many smaller building block, each having their own EPSG code. There is one 
code for the datum, one code for the ellipsoid, one code for each axis, etc. 
all 
the way down to units. 9108 is an EPSG code for a unit.

> Anyway, Martin, if you have any other info on how to use that hint (or 
> anything else) to reach a more elegant and "non-intrusive" solution, it 
> would be great!

Cleaning the referencing module. The EPSG factories part of this module got 
significant changes more than one year ago and I never got the time to review 
the contributions. I know we have duplicated code right now and a broken test, 
but have not yet investigated. It is on my "todo" list.

        Martin

-------------------------------------------------------------------------
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