public class DissolveRule extends Object implements IDissolveRule
Modifier and Type | Field and Description |
---|---|
protected int |
indexField |
Constructor and Description |
---|
DissolveRule(int indexField,
HashMap<String,String> funcMap) |
Modifier and Type | Method and Description |
---|---|
String |
getFieldName(String func)
Returns the name of the field for the selected function
|
int |
getIndexField()
Gets the index of the field to apply the dissolve rule
|
boolean |
isFunctionIncluded(String func)
Returns true if the selected function is included in the summary
|
boolean |
verifyIfDissolve(Geometry g1,
Geometry g2,
Feature f1,
Feature f2)
Verifies if the given geometries will be dissolved
|
public boolean verifyIfDissolve(Geometry g1, Geometry g2, Feature f1, Feature f2)
IDissolveRule
verifyIfDissolve
in interface IDissolveRule
public boolean isFunctionIncluded(String func)
IDissolveRule
isFunctionIncluded
in interface IDissolveRule
public String getFieldName(String func)
IDissolveRule
getFieldName
in interface IDissolveRule
public int getIndexField()
IDissolveRule
getIndexField
in interface IDissolveRule