Lets do it, you are warned that CRS is used in lots of places :-). So 
lets think ...

1.) CRS was introduced in 2.1 so we can not just flat out rename, we 
must deprecate the origional
2.) I did not use the "get" prefix deliberately, as this is not a bean 
property

This method is designed to be used with the JTS utility class, please 
review their methods at the same time.
Martin deprecated the origional JTS class created a new one for GeoTools 
2.2, so if you are quick you
can outright rename the methods in the new JTS class to your liking....

So lets consider the whole sequence before defining a name ... I will 
provide a code example in a moment
based on the following choices:
- getMathTransform  -- nope, confusion with bean naming convention
- transform -- rejected as the method does not transform content
- mathTransform -- possible rejected for the same reason?
- createMathTransform -- possible confusion with factory naming conventions
- findMathTransform -- like this as it could be a consistent naming 
standard

So let me work up a code example and we can see what makes sense...
Jody

> Adrian Custer a écrit :
>   
>> Would the following rename be possible?
>>
>>   org.geotools.referencing.CRS.transform(...)
>> to
>>   org.geotools.referencing.CRS.getMathTransform(...)
>> since we are not, in any way, transforming with the method.
>>     
>
> Sound like a good point to me.
>
> Any objection? If not, I will add that on my todo list.
>
>       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&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Geotools-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>   



-------------------------------------------------------------------------
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&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to