Package fr.ign.artiscales.pm.usecase
Class CompareSimulatedWithRealParcelsOM
java.lang.Object
fr.ign.artiscales.pm.usecase.CompareSimulatedWithRealParcelsOM
This method must be run in order to prepare the data for an OpenMole exploration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidrun()static voidsetProcess(int processNb)static voidsimulateZoneDivisionFromCSV(File csvIn, File zoneFile, File roadFile, File buildingFile, File parcelFile, File outFolder, String process)Simulate the Zone Division workflow from parameters contained in a CSV file (which could be an output of OpenMole)static voidsortConsolidatedZone(File toSortFile, File outFolder)Method to create different geopackages of each zoning type and community of an input Geopackage.static voidsortUniqueZone(File toSortFile, File zoningFile, File outFolder)Method to create different geopackages of each zoning type and community of an input Geopackage.
-
Constructor Details
-
CompareSimulatedWithRealParcelsOM
public CompareSimulatedWithRealParcelsOM()
-
-
Method Details
-
run
- Throws:
Exception
-
setProcess
public static void setProcess(int processNb) -
simulateZoneDivisionFromCSV
public static void simulateZoneDivisionFromCSV(File csvIn, File zoneFile, File roadFile, File buildingFile, File parcelFile, File outFolder, String process) throws IOExceptionSimulate the Zone Division workflow from parameters contained in a CSV file (which could be an output of OpenMole)- Throws:
IOException
-
sortUniqueZone
public static void sortUniqueZone(File toSortFile, File zoningFile, File outFolder) throws IOExceptionMethod to create different geopackages of each zoning type and community of an input Geopackage.- Parameters:
toSortFile- Geopackage file to sort (zones or parcels)zoningFile- the zoning plan in a geopackage format (field names are set in theGeneralFieldsclass)outFolder- the folder which will contain the exported geopackages- Throws:
IOException- Reading and writing files
-
sortConsolidatedZone
Method to create different geopackages of each zoning type and community of an input Geopackage.- Parameters:
toSortFile- Geopackage file to sort (zones or parcels)outFolder- the folder which will contain the exported geopackages- Throws:
IOException- Reading and writing files
-