public class DissolveRule extends java.lang.Object implements IDissolveRule
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
nameField |
| Constructor and Description |
|---|
DissolveRule(java.lang.String nameField,
java.util.HashMap<java.lang.String,java.lang.String> funcMap) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFieldName()
Gets the index of the field to apply the dissolve rule
|
java.lang.String |
getFieldName(java.lang.String func)
Returns the name of the field for the selected function
|
boolean |
isFunctionIncluded(java.lang.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 DissolveRule(java.lang.String nameField,
java.util.HashMap<java.lang.String,java.lang.String> funcMap)
public boolean verifyIfDissolve(Geometry g1,
Geometry g2,
Feature f1,
Feature f2)
IDissolveRuleverifyIfDissolve in interface IDissolveRulepublic boolean isFunctionIncluded(java.lang.String func)
IDissolveRuleisFunctionIncluded in interface IDissolveRulepublic java.lang.String getFieldName(java.lang.String func)
IDissolveRulegetFieldName in interface IDissolveRulepublic java.lang.String getFieldName()
IDissolveRulegetFieldName in interface IDissolveRule