Class FrenchZoningSchemas

java.lang.Object
fr.ign.artiscales.pm.fields.french.FrenchZoningSchemas

public class FrenchZoningSchemas extends Object
Implementation for french zoning schemas
  • Constructor Details

    • FrenchZoningSchemas

      public FrenchZoningSchemas()
  • Method Details

    • isUrbanZoneUsuallyAdmitResidentialConstruction

      public static boolean isUrbanZoneUsuallyAdmitResidentialConstruction(org.opengis.feature.simple.SimpleFeature zone)
      Decide the possibility of urbanization of an urban zoning feature according to the French urban planning habits. The zoneNameField field must be U or alike and the zonePreciseNameField field must be a variation of the UA, UB, UC, UD zones. It also allows the types U, C and ZC that could provide from Cartes Communales. ZoneGenericNameField and zonePreciseNameField are TYPEZONE and LIBELLE can be changed with the setters from the GeneralFields class.
      Parameters:
      zone - Simple Feature of the input zone
      Returns:
      true if the urban zone is urbanizable, wrong otherwise.
    • isZoneUsuallyAdmitResidentialConstruction

      public static boolean isZoneUsuallyAdmitResidentialConstruction(org.opengis.feature.simple.SimpleFeature zone)
      Decide the possibility of urbanization of an urban zoning feature according to the French urban planning habits. The ZoneGenericNameField field must be U or alike and the zonePreciseNameField field must be a variation of the UA, UB, UC, UD zones. It also allows the types U, C and ZC that could provide from Cartes Communales. ZoneGenericNameField and zonePreciseNameField are TYPEZONE and LIBELLE can be changed with the setters from the GeneralFields class.
      Parameters:
      zone - Simple Feature of the input zone
      Returns:
      true if the urban zone is urbanizable, wrong otherwise.
    • normalizeNameFrenchBigZone

      public static String normalizeNameFrenchBigZone(String nameZone)
      Translate some big zone labels coming from different urban documents to a normalized one. If no match has been found, we return the input value.
      Parameters:
      nameZone - A usual name of zone in French plan system.
      Returns:
      The normalized name.
    • getUsualNames

      public static List<String> getUsualNames(String zone)
      Gives the usual names given to the three types of zones in a french context. If null or unknown input, return every known answers.
      Parameters:
      zone - normalized type of zone
      Returns:
      a list of the big zones that the normalize type of zone can have
    • getTranslatedName

      public static String getTranslatedName(String genericZone)
      Translate a French symbol of zoning type to english.
      Parameters:
      genericZone - French symbol (U, AU, or other)
      Returns:
      the translation.