Package com.cercalia.sdk.model.geoment
Class GeomentMunicipalityOptions
java.lang.Object
com.cercalia.sdk.model.geoment.GeomentMunicipalityOptions
Options for fetching municipality or region geometry.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull GeomentMunicipalityOptions.Builderbuilder()@Nullable StringgetMunc()@Nullable String@Nullable Integerstatic @NotNull GeomentMunicipalityOptionsmunicipality(@NotNull String munc) Creates options for a locality (municipality) by code.static @NotNull GeomentMunicipalityOptionsmunicipality(@NotNull String munc, int tolerance) Creates options for a locality (municipality) by code with tolerance.static @NotNull GeomentMunicipalityOptionsCreates options for a subregion (province) by code.static @NotNull GeomentMunicipalityOptionsCreates options for a subregion (province) by code with tolerance.
-
Method Details
-
getMunc
- Returns:
- municipality code.
-
getSubregc
- Returns:
- subregion (province) code.
-
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
GeomentMunicipalityOptionsinstance.
-
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
GeomentMunicipalityOptionsinstance.
-
region
Creates options for a subregion (province) by code.- Parameters:
subregc- subregion code.- Returns:
- a new
GeomentMunicipalityOptionsinstance.
-
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
GeomentMunicipalityOptionsinstance.
-
builder
- Returns:
- a new builder for
GeomentMunicipalityOptions.
-