Simone Giannecchini a écrit :
Martin already implemented the OrderedAxisAuthorityFactory which
should take care of this. I used it and I have to say that it works
fine except that if I ask for an EPSG:4326 crs it gives, correctly, a
lon,lat WGS84 but with no identifiers related to EPSG, so basically it
is just a simple WGS84 geographic CRS with lon,lat axis and no
authorithy identification. This is not suitable for most use cases in
GeoServer since I need the Authority in order to be able to use the
code in GetCapabilities and such.

The lack of authority identification is intentional. My interpretation was that if OrderedAxisAuthorityFactory modifies the axis order, it would be incorrect to claim that the returned CRS is EPSG:4326. So OrderedAxisAuthorityFactory intentionally remove the authority identification before to returns the transformed CRS. However, if it is a problem, we may revisit that (or make it optional). But we would still have a philosophical issue: is it correct to keep an "EPSG:4326" identification on something that is not anymore EPSG:4326 (well, not strictly speaking - I realize that common usage still call that EPSG:4326).


David is going to refactor the streaming renderer shortly, I think it
would be worth to tackle this problem before he start doing his job,
which btw is great since performances of the StreamingRenderer has
improved a lot.


I can' resist to the tentation to remind that J2D-render was handling correctly axis swapping for years (but lack Feature and Style support, I admit)...

        Martin.


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to