Package fr.ign.artiscales.pm.workflow
Class Workflow
java.lang.Object
fr.ign.artiscales.pm.workflow.Workflow
- Direct Known Subclasses:
ConsolidationDivision,Densification,ZoneDivision
Class to implement in order to construct a new Workflow
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic booleanIf true, overwrite the output saved Geopackages.static DivisionTypeThe process used to divide the parcels -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckFields(org.opengis.feature.simple.SimpleFeatureType parcelInput)Check if every fields required for a workflow task are present.static booleanisDEBUG()abstract booleanisNewSection(org.opengis.feature.simple.SimpleFeature feat)static booleanabstract StringmakeNewSection(String section)static voidsetDEBUG(boolean DEBUG)static voidsetSAVEINTERMEDIATERESULT(boolean SAVEINTERMEDIATERESULT)
-
Field Details
-
PROCESS
The process used to divide the parcels -
OVERWRITEGEOPACKAGE
public static boolean OVERWRITEGEOPACKAGEIf true, overwrite the output saved Geopackages. If false, append the simulated parcels to a potential already existing Geopackage.
-
-
Constructor Details
-
Workflow
public Workflow()
-
-
Method Details
-
isSAVEINTERMEDIATERESULT
public static boolean isSAVEINTERMEDIATERESULT() -
setSAVEINTERMEDIATERESULT
public static void setSAVEINTERMEDIATERESULT(boolean SAVEINTERMEDIATERESULT) -
isDEBUG
public static boolean isDEBUG() -
setDEBUG
public static void setDEBUG(boolean DEBUG) -
checkFields
public static void checkFields(org.opengis.feature.simple.SimpleFeatureType parcelInput)Check if every fields required for a workflow task are present. If not, it will write something in the console.- Parameters:
parcelInput- schema of the input collection.
-
makeNewSection
-
isNewSection
public abstract boolean isNewSection(org.opengis.feature.simple.SimpleFeature feat)
-