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)
IDissolveRule
verifyIfDissolve
in interface IDissolveRule
public boolean isFunctionIncluded(java.lang.String func)
IDissolveRule
isFunctionIncluded
in interface IDissolveRule
public java.lang.String getFieldName(java.lang.String func)
IDissolveRule
getFieldName
in interface IDissolveRule
public java.lang.String getFieldName()
IDissolveRule
getFieldName
in interface IDissolveRule