Class FrenchZoningSchemas
java.lang.Object
fr.ign.artiscales.pm.fields.french.FrenchZoningSchemas
Implementation for french zoning schemas
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetTranslatedName(String genericZone)Translate a French symbol of zoning type to english.getUsualNames(String zone)Gives the usual names given to the three types of zones in a french context.static booleanisUrbanZoneUsuallyAdmitResidentialConstruction(org.opengis.feature.simple.SimpleFeature zone)Decide the possibility of urbanization of an urban zoning feature according to the French urban planning habits.static booleanisZoneUsuallyAdmitResidentialConstruction(org.opengis.feature.simple.SimpleFeature zone)Decide the possibility of urbanization of an urban zoning feature according to the French urban planning habits.static StringnormalizeNameFrenchBigZone(String nameZone)Translate some big zone labels coming from different urban documents to a normalized one.
-
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 theGeneralFieldsclass.- 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 theGeneralFieldsclass.- Parameters:
zone- Simple Feature of the input zone- Returns:
- true if the urban zone is urbanizable, wrong otherwise.
-
normalizeNameFrenchBigZone
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
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
Translate a French symbol of zoning type to english.- Parameters:
genericZone- French symbol (U, AU, or other)- Returns:
- the translation.
-