Class GeomentMunicipalityOptions

java.lang.Object
com.cercalia.sdk.model.geoment.GeomentMunicipalityOptions

public final class GeomentMunicipalityOptions extends Object
Options for fetching municipality or region geometry.
  • Method Details

    • getMunc

      @Nullable public @Nullable String getMunc()
      Returns:
      municipality code.
    • getSubregc

      @Nullable public @Nullable String getSubregc()
      Returns:
      subregion (province) code.
    • getTolerance

      @Nullable public @Nullable Integer getTolerance()
      Returns:
      geometry simplification tolerance.
    • municipality

      @NotNull public static @NotNull GeomentMunicipalityOptions municipality(@NotNull @NotNull String munc)
      Creates options for a locality (municipality) by code.
      Parameters:
      munc - municipality code.
      Returns:
      a new GeomentMunicipalityOptions instance.
    • municipality

      @NotNull public static @NotNull GeomentMunicipalityOptions municipality(@NotNull @NotNull String munc, int tolerance)
      Creates options for a locality (municipality) by code with tolerance.
      Parameters:
      munc - municipality code.
      tolerance - geometry simplification tolerance.
      Returns:
      a new GeomentMunicipalityOptions instance.
    • region

      @NotNull public static @NotNull GeomentMunicipalityOptions region(@NotNull @NotNull String subregc)
      Creates options for a subregion (province) by code.
      Parameters:
      subregc - subregion code.
      Returns:
      a new GeomentMunicipalityOptions instance.
    • region

      @NotNull public static @NotNull GeomentMunicipalityOptions region(@NotNull @NotNull String subregc, int tolerance)
      Creates options for a subregion (province) by code with tolerance.
      Parameters:
      subregc - subregion code.
      tolerance - geometry simplification tolerance.
      Returns:
      a new GeomentMunicipalityOptions instance.
    • builder

      @NotNull public static @NotNull GeomentMunicipalityOptions.Builder builder()
      Returns:
      a new builder for GeomentMunicipalityOptions.