Revision 323 branches/v02_desarrollo/libraries/libCq CMS for java.old/src/org/cresques/cts/gt2/CSLambertCC.java
CSLambertCC.java | ||
---|---|---|
4 | 4 |
package org.cresques.cts.gt2; |
5 | 5 |
|
6 | 6 |
import org.geotools.cs.AxisInfo; |
7 |
import org.geotools.cs.FactoryException;
|
|
7 |
import org.opengis.referencing.FactoryException;
|
|
8 | 8 |
import org.geotools.cs.GeographicCoordinateSystem; |
9 | 9 |
import org.geotools.cs.Projection; |
10 |
import org.geotools.pt.Angle; |
|
11 | 10 |
import org.geotools.units.Unit; |
12 | 11 |
|
13 | 12 |
/** |
... | ... | |
36 | 35 |
Projection projection = |
37 | 36 |
csFactory.createProjection("Lambert", "Lambert_Conformal_Conic_2SP", params); |
38 | 37 |
projCS = csFactory.createProjectedCoordinateSystem( |
39 |
projection.getName(null), geogCS, projection, linearUnit, AxisInfo.X, AxisInfo.Y);
|
|
38 |
projection.getName().toString(), geogCS, projection, linearUnit, AxisInfo.X, AxisInfo.Y);
|
|
40 | 39 |
} catch (FactoryException e) { |
41 | 40 |
// TODO Bloque catch generado autom?ticamente |
42 | 41 |
e.printStackTrace(); |
Also available in: Unified diff