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 @ 43936
History | View | Annotate | Download (1.98 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 | |||
45 | 43920 | jjdelcerro | |
46 | public int getGeometryChecks(); |
||
47 | |||
48 | public int getGeometryChecksAction(); |
||
49 | |||
50 | public boolean getTryToFixGeometry(); |
||
51 | |||
52 | public void setGeometryChecks(int geometryChecks); |
||
53 | |||
54 | public void setGeometryChecksAction(int geometryChecksAction); |
||
55 | |||
56 | public void setTryToFixGeometry(boolean tryToFixGeometry); |
||
57 | |||
58 | 43936 | jjdelcerro | public String getSourceGeometryFieldName(); |
59 | 43920 | jjdelcerro | |
60 | 43936 | jjdelcerro | public void setSourceGeometryFieldName(String geometryFieldName); |
61 | 43920 | jjdelcerro | |
62 | 43936 | jjdelcerro | public GeometryType getTargetGeometryType();
|
63 | 43920 | jjdelcerro | |
64 | 43936 | jjdelcerro | public int getTargetGeometryTypeAsInt(); |
65 | 43920 | jjdelcerro | |
66 | 43936 | jjdelcerro | public int getTargetGeometrySubtype(); |
67 | 43920 | jjdelcerro | |
68 | 43936 | jjdelcerro | public void setTargetGeometryType(GeometryType type); |
69 | 43920 | jjdelcerro | |
70 | 43936 | jjdelcerro | public void setTargetGeometryType(int type); |
71 | 43920 | jjdelcerro | |
72 | 43936 | jjdelcerro | public void setTargetGeometrySubtype(int subtype); |
73 | 43920 | jjdelcerro | } |