Package fr.ign.artiscales.pm.division
Class OBBThenSS
java.lang.Object
fr.ign.artiscales.pm.division.Division
fr.ign.artiscales.pm.division.OBBThenSS
Apply SS division on OBB blocks.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.geotools.data.simple.SimpleFeatureCollectionapplyOBBThenSS(org.geotools.data.simple.SimpleFeatureCollection sfcIn, File roadFile, fr.ign.artiscales.tools.parameter.ProfileUrbanFabric profile)Apply SS on OBB blocks fromstatic org.geotools.data.simple.SimpleFeatureCollectionapplyOBBThenSS(org.opengis.feature.simple.SimpleFeature feat, org.geotools.data.simple.SimpleFeatureCollection roads, fr.ign.artiscales.tools.parameter.ProfileUrbanFabric profile, List<org.locationtech.jts.geom.LineString> block)
-
Constructor Details
-
OBBThenSS
public OBBThenSS()
-
-
Method Details
-
applyOBBThenSS
public static org.geotools.data.simple.SimpleFeatureCollection applyOBBThenSS(org.geotools.data.simple.SimpleFeatureCollection sfcIn, File roadFile, fr.ign.artiscales.tools.parameter.ProfileUrbanFabric profile) throws IOExceptionApply SS on OBB blocks from- Parameters:
sfcIn- List of marked parcels to be divided.roadFile- List of road. Must have required attributes forStraightSkeletonDivision.profile- Description of the urban fabric profile planed to be simulated on this zone.- Returns:
- Collection of divided parcels
- Throws:
IOException- reading road file
-
applyOBBThenSS
public static org.geotools.data.simple.SimpleFeatureCollection applyOBBThenSS(org.opengis.feature.simple.SimpleFeature feat, org.geotools.data.simple.SimpleFeatureCollection roads, fr.ign.artiscales.tools.parameter.ProfileUrbanFabric profile, List<org.locationtech.jts.geom.LineString> block)- Parameters:
feat- parcel to divideroads- Collection of road. Must have required attributes forStraightSkeletonDivision.profile- Description of the urban fabric profile planed to be simulated on this zone.block- SimpleFeatureCollection containing the morphological block.- Returns:
- Collection of divided parcels
-