Sorry Martin,

You're going to have to walk me through this step by step. I've hit my
head against the wall too much and I'm ready to give up. 

Can we walk through all the steps to make, in 2.2.0, a Mercator
projection by hand?

1) Make a ParameterValueGroup using a magic_string:
  pg = mathTransformFactory.getDefaultParameters("Mercator_1SP");

A? Do we get a list of all the possible magic_strings for the
ParameterValue Groups from the main() method in
DefaultMathTransformFactory with parameter '-all'? 

B? The values are being obtained from the EPSG database?

C? How do we know what parameters are going to be in the group returned?
Again from the list in the main() method? 



2) If needed, change the parameters in the ParameterValueGroup
  pg.parameter("falseEasting").setValue(...);

C? How do we know what the valid values are for each parameter? 



3) Make a DefiningConversion which requires:
  String name : 
  ParameterValueGroup:  generated above

D? Is the name arbitrary or from some list somewhere?



4) Make a CartesianCS
I think I know how to do that



5) Make a Map for the projectedCRS's properties.

E? What's supposed to be in this Map? A name presumably, but is there
other stuff? Is the name arbitrary?



6) Create the ProjectedCRS using the FactoryGroup's convenience method
and all the pieces above.



is that right?

thanks,
adrian



-------------------------------------------------------------------------
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-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to