Need an AuthorityFactory wrapper for reordering axis
----------------------------------------------------

         Key: GEOT-694
         URL: http://jira.codehaus.org/browse/GEOT-694
     Project: GeoTools
        Type: Task
  Components: referencing  
    Versions: 2.2.M1    
 Reporter: Martin Desruisseaux
 Assigned to: Martin Desruisseaux 


While the axis order for EPSG:4326 is "officially" (NORTH,EAST), some code 
expect (EAST,NORTH) axis order. We need a mechanism for allowing people to 
force (EAST,NORTH) axis order if they wish. This applies primarily to the EPSG 
authority factory, but similar issue may happen for any kind of authority 
factory (not just EPSG).

A proposed approach is to create an AuthorityFactory wrapper (exact name to be 
determined), which wraps an other AuthorityFactory and reorder the axis 
according some user-supplied axis order, or according a default 
(EAST,NORTH,UP,FUTURE) axis order. If a user wants to be sure that that all CRS 
use this axis order, he could write something like (simplified):

   AuthorityFactory factory = new 
RearangedAuthorityFactory(FactoryFinder.getAuthorityFactory(theAuthority));

Suggestions (other approachs, other issue to take in account, etc.) welcome.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to