From: Martin D. <mar...@ge...> - 2008-08-20 00:55:55
|
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 |