svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.library / org.gvsig.exportto / org.gvsig.exportto.lib / org.gvsig.exportto.lib.api / src / main / java / org / gvsig / export / ExportParametersGeometry.java @ 44469
History | View | Annotate | Download (2.03 KB)
1 |
package org.gvsig.export; |
---|---|
2 |
|
3 |
import org.cresques.cts.ICoordTrans; |
4 |
import org.cresques.cts.IProjection; |
5 |
import org.gvsig.fmap.geom.type.GeometryType; |
6 |
|
7 |
/**
|
8 |
*
|
9 |
* @author jjdelcerro
|
10 |
*/
|
11 |
public interface ExportParametersGeometry extends ExportParameters { |
12 |
|
13 |
public static final int CHECKGEOMETRY_NONE = 0; |
14 |
public static final int CHECKGEOMETRY_CHECK_IF_CORRUPT = 1; |
15 |
public static final int CHECKGEOMETRY_CHECK_IF_VALID = 2; |
16 |
|
17 |
public static final int CHECKGEOMETRYACTION_SET_GEOMETRY_TO_NULL = 0; |
18 |
public static final int CHECKGEOMETRYACTION_SKIP_FEATURE = 1; |
19 |
public static final int CHECKGEOMETRYACTION_ABORT = 2; |
20 |
|
21 |
|
22 |
public void setContextProjection(IProjection projection); |
23 |
|
24 |
public IProjection getContextProjection();
|
25 |
|
26 |
|
27 |
public void setSourceProjection(IProjection projection); |
28 |
|
29 |
public IProjection getSourceProjection();
|
30 |
|
31 |
public void setSourceTransformation(ICoordTrans transformation); |
32 |
|
33 |
public ICoordTrans getSourceTransformation();
|
34 |
|
35 |
|
36 |
public void setTargetProjection(IProjection targetProjection); |
37 |
|
38 |
public IProjection getTargetProjection();
|
39 |
|
40 |
public void setTargetTransformation(ICoordTrans transformation); |
41 |
|
42 |
public ICoordTrans getTargetTransformation();
|
43 |
|
44 |
public ICoordTrans getTransformationToUse();
|
45 |
|
46 |
|
47 |
public int getGeometryChecks(); |
48 |
|
49 |
public int getGeometryChecksAction(); |
50 |
|
51 |
public boolean getTryToFixGeometry(); |
52 |
|
53 |
public void setGeometryChecks(int geometryChecks); |
54 |
|
55 |
public void setGeometryChecksAction(int geometryChecksAction); |
56 |
|
57 |
public void setTryToFixGeometry(boolean tryToFixGeometry); |
58 |
|
59 |
public String getSourceGeometryFieldName(); |
60 |
|
61 |
public void setSourceGeometryFieldName(String geometryFieldName); |
62 |
|
63 |
public GeometryType getTargetGeometryType();
|
64 |
|
65 |
public int getTargetGeometryTypeAsInt(); |
66 |
|
67 |
public int getTargetGeometrySubtype(); |
68 |
|
69 |
public void setTargetGeometryType(GeometryType type); |
70 |
|
71 |
public void setTargetGeometryType(int type); |
72 |
|
73 |
public void setTargetGeometrySubtype(int subtype); |
74 |
} |