Revision 6164 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/layers/FLyrAnnotation.java
FLyrAnnotation.java | ||
---|---|---|
12 | 12 |
|
13 | 13 |
import org.cresques.cts.ICoordTrans; |
14 | 14 |
import org.cresques.cts.IProjection; |
15 |
import org.cresques.cts.ProjectionPool; |
|
16 | 15 |
|
17 | 16 |
import com.hardcode.driverManager.Driver; |
18 | 17 |
import com.hardcode.driverManager.DriverLoadException; |
... | ... | |
30 | 29 |
import com.iver.cit.gvsig.fmap.core.v02.FConstant; |
31 | 30 |
import com.iver.cit.gvsig.fmap.core.v02.FLabel; |
32 | 31 |
import com.iver.cit.gvsig.fmap.core.v02.FSymbol; |
32 |
import com.iver.cit.gvsig.fmap.crs.CRSFactory; |
|
33 | 33 |
import com.iver.cit.gvsig.fmap.drivers.BoundedShapes; |
34 | 34 |
import com.iver.cit.gvsig.fmap.drivers.DriverAttributes; |
35 | 35 |
import com.iver.cit.gvsig.fmap.drivers.DriverIOException; |
... | ... | |
251 | 251 |
IProjection proj = null; |
252 | 252 |
|
253 | 253 |
if (xml.contains("proj")) { |
254 |
proj = ProjectionPool.get(xml.getStringProperty("proj"));
|
|
254 |
proj = CRSFactory.getCRS(xml.getStringProperty("proj"));
|
|
255 | 255 |
} |
256 | 256 |
|
257 | 257 |
VectorialFileAdapter adapter = new VectorialFileAdapter(new File(xml |
Also available in: Unified diff