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 | 43925 | jjdelcerro | package org.gvsig.export; |
---|---|---|---|
2 | 43920 | jjdelcerro | |
3 | 43925 | jjdelcerro | import org.cresques.cts.ICoordTrans; |
4 | 43920 | jjdelcerro | import org.cresques.cts.IProjection; |
5 | import org.gvsig.fmap.geom.type.GeometryType; |
||
6 | |||
7 | /**
|
||
8 | *
|
||
9 | * @author jjdelcerro
|
||
10 | */
|
||
11 | 43925 | jjdelcerro | public interface ExportParametersGeometry extends ExportParameters { |
12 | 43920 | jjdelcerro | |
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 | 43925 | jjdelcerro | 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 | 43920 | jjdelcerro | public void setTargetProjection(IProjection targetProjection); |
37 | |||
38 | public IProjection getTargetProjection();
|
||
39 | 43925 | jjdelcerro | |
40 | public void setTargetTransformation(ICoordTrans transformation); |
||
41 | |||
42 | public ICoordTrans getTargetTransformation();
|
||
43 | |||
44 | 44469 | omartinez | public ICoordTrans getTransformationToUse();
|
45 | 43925 | jjdelcerro | |
46 | 44469 | omartinez | |
47 | 43920 | jjdelcerro | 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 | 43936 | jjdelcerro | public String getSourceGeometryFieldName(); |
60 | 43920 | jjdelcerro | |
61 | 43936 | jjdelcerro | public void setSourceGeometryFieldName(String geometryFieldName); |
62 | 43920 | jjdelcerro | |
63 | 43936 | jjdelcerro | public GeometryType getTargetGeometryType();
|
64 | 43920 | jjdelcerro | |
65 | 43936 | jjdelcerro | public int getTargetGeometryTypeAsInt(); |
66 | 43920 | jjdelcerro | |
67 | 43936 | jjdelcerro | public int getTargetGeometrySubtype(); |
68 | 43920 | jjdelcerro | |
69 | 43936 | jjdelcerro | public void setTargetGeometryType(GeometryType type); |
70 | 43920 | jjdelcerro | |
71 | 43936 | jjdelcerro | public void setTargetGeometryType(int type); |
72 | 43920 | jjdelcerro | |
73 | 43936 | jjdelcerro | public void setTargetGeometrySubtype(int subtype); |
74 | 43920 | jjdelcerro | } |