Class CompareSimulatedWithRealParcelsOM

java.lang.Object
fr.ign.artiscales.pm.usecase.CompareSimulatedWithRealParcelsOM

public class CompareSimulatedWithRealParcelsOM extends Object
This method must be run in order to prepare the data for an OpenMole exploration
  • Constructor Details

    • CompareSimulatedWithRealParcelsOM

      public CompareSimulatedWithRealParcelsOM()
  • Method Details

    • run

      public static void run() throws Exception
      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 IOException
      Simulate 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 IOException
      Method 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 the GeneralFields class)
      outFolder - the folder which will contain the exported geopackages
      Throws:
      IOException - Reading and writing files
    • sortConsolidatedZone

      public static void sortConsolidatedZone(File toSortFile, File outFolder) throws IOException
      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