>
>The AXIS element are actually lying to us... I just checked in the EPSG
>database
>for code 2065 and found almost exactly the same WKT except for the axis
>elements
>which are AXIS["Southing", SOUTH], AXIS["Westing", WEST].
>
epsg-hsql (GoeTools 2.6) gives AXIS["Southing", SOUTH], AXIS["Westing", WEST]
epsk-wkt ( GoeTools 2.6) gives AXIS["x", EAST], AXIS["y", NORTH],
(I don't know why it differs)
where epsg-hsql is corresponding with what EPSG says.
>
>So in current state, parsing the bogus ESRI's WKT produces the expected result,
>but parsing a valid WKT or building the CRS from the EPSG database produces the
>wrong result (axes flipped).
>
Meaning of ESRI def. is AXIS["x", EAST], AXIS["y", NORTH] and uses special
code for that (ESRI:102067)
EPSG defines 2065 as AXIS["Southing", SOUTH], AXIS["Westing", WEST]
(99% of our data are in ESRI:102067)
>
>The fact that CRS.decode("EPSG:2065") will produce wrong CRS in the current
>state of affair seems especially anoying to me. This also break the assumption
>of the whole projection package, which assumes that projection "kernel" are
>always (EAST,NORTH) oriented (other orientations are handle by affine transform
>concatenated to the kernel).
>
GeoTools Krovak Kernel is (EAST,NORTH). With epsg-hsql
CRS.decode("EPSG:2065") we get expected results so that concatenated
transformation
turns it into AXIS["Southing", SOUTH], AXIS["Westing", WEST].
>Since (if my understanding is right) the issue in this particular topic is on
>ESRI side, I would like to keep the referencing module "right" and try to find
>an other way to comply with ESRI behavior, maybe with a "ESRI compatibility"
>flag in the WKT parser (or some other way if you have idea).
>
>Is the above approximatively accurate? What do you think?
>
To comply with ESRI it might be good to be able to use also other set of
definitions together with EPSG - like PROJ4 is having epsg, esri and
esri.extra definition files.
Hope it still makes sense - I know that it is little bit crazy :-)
Jan.
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel