Class RoadRatioParcels

java.lang.Object
fr.ign.artiscales.pm.analysis.RoadRatioParcels

public class RoadRatioParcels extends Object
Street/generated surface ratio. Only developed for french parcels.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    roadRatioParcels​(org.geotools.data.simple.SimpleFeatureCollection initialMarkedParcel, org.geotools.data.simple.SimpleFeatureCollection cutParcel, String legend, File folderOutStat, boolean overwrite, File roadFile)
    Calculate the ratio between the parcel area and the total area of a zone.
    static void
    roadRatioZone​(org.geotools.data.simple.SimpleFeatureCollection zone, org.geotools.data.simple.SimpleFeatureCollection cutParcel, String legend, File folderOutStat, boolean overwrite, File roadFile)
    Calculate the ratio between the area of a set of parcels and the total area of a zone.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RoadRatioParcels

      public RoadRatioParcels()
  • Method Details

    • roadRatioParcels

      public static void roadRatioParcels(org.geotools.data.simple.SimpleFeatureCollection initialMarkedParcel, org.geotools.data.simple.SimpleFeatureCollection cutParcel, String legend, File folderOutStat, boolean overwrite, File roadFile) throws IOException
      Calculate the ratio between the parcel area and the total area of a zone. It expresses the quantity of not parcel land, which could be either streets or public spaces. Calculate zones and then send the whole to the roadRatioZone(SimpleFeatureCollection, SimpleFeatureCollection, String, File, boolean, File) method. If the DivisionType is a DivisionType.SSoffset, the patio is not counted in the ratio.
      Parameters:
      initialMarkedParcel - SimpleFeatureCollection of the initial set of parcels which are marked if they were simulated. Marks could be made with the methods contained in the class MarkParcelAttributeFromPosition. The field attribute is named SPLIT by default. It is possible to change it with the MarkParcelAttributeFromPosition.setMarkFieldName(String) function.
      cutParcel - A collection of parcels after a Parcel Manager simulation
      folderOutStat - folder to store the results
      roadFile - the road geo file
      legend - name of the zone
      overwrite - Overwrite the created statistical tab
      Throws:
      IOException - reading geo files and exporting csv
    • roadRatioZone

      public static void roadRatioZone(org.geotools.data.simple.SimpleFeatureCollection zone, org.geotools.data.simple.SimpleFeatureCollection cutParcel, String legend, File folderOutStat, boolean overwrite, File roadFile) throws IOException
      Calculate the ratio between the area of a set of parcels and the total area of a zone. The fact that the zone and the area must be verified by the user. The result express the quantity of not parcel land, which could be either roads or public spaces.
      Parameters:
      zone - SimpleFeatureCollection of initial zones
      cutParcel - SimpleFeatureCollection of the cuted parcels
      folderOutStat - folder to store the results
      overwrite - Overwrite the created statistical tab
      roadFile - the road geo file
      legend - name of the zone
      Throws:
      IOException - reading geo files and exporting csv