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)
IDissolveRuleverifyIfDissolve in interface IDissolveRulepublic boolean isFunctionIncluded(String func)
IDissolveRuleisFunctionIncluded in interface IDissolveRulepublic String getFieldName(String func)
IDissolveRulegetFieldName in interface IDissolveRulepublic int getIndexField()
IDissolveRulegetIndexField in interface IDissolveRule