Search in sources :

Example 1 with FilterNameParameter

use of com.sldeditor.filter.v2.function.FilterNameParameter in project sldeditor by robward-scisys.

the class DWithin method getFilterConfiguration.

/**
 * Gets the filter configuration.
 *
 * @return the filter configuration
 */
@Override
public FilterName getFilterConfiguration() {
    FilterName filterName = new FilterName("DWithin", Boolean.class);
    filterName.addParameter(new FilterNameParameter("property", ExpressionTypeEnum.PROPERTY, Geometry.class));
    filterName.addParameter(new FilterNameParameter("expression", ExpressionTypeEnum.EXPRESSION, Geometry.class));
    filterName.addParameter(new FilterNameParameter("distance", ExpressionTypeEnum.EXPRESSION, Double.class));
    filterName.addParameter(new FilterNameParameter("units", ExpressionTypeEnum.EXPRESSION, String.class));
    return filterName;
}
Also used : Geometry(org.locationtech.jts.geom.Geometry) FilterName(com.sldeditor.filter.v2.function.FilterName) FilterNameParameter(com.sldeditor.filter.v2.function.FilterNameParameter)

Example 2 with FilterNameParameter

use of com.sldeditor.filter.v2.function.FilterNameParameter in project sldeditor by robward-scisys.

the class Beyond method getFilterConfiguration.

/**
 * Gets the filter configuration.
 *
 * @return the filter configuration
 */
@Override
public FilterName getFilterConfiguration() {
    FilterName filterName = new FilterName("Beyond", Boolean.class);
    filterName.addParameter(new FilterNameParameter("property", ExpressionTypeEnum.PROPERTY, Geometry.class));
    filterName.addParameter(new FilterNameParameter("expression", ExpressionTypeEnum.EXPRESSION, Geometry.class));
    filterName.addParameter(new FilterNameParameter("distance", ExpressionTypeEnum.EXPRESSION, Double.class));
    filterName.addParameter(new FilterNameParameter("units", ExpressionTypeEnum.EXPRESSION, String.class));
    return filterName;
}
Also used : Geometry(org.locationtech.jts.geom.Geometry) FilterName(com.sldeditor.filter.v2.function.FilterName) FilterNameParameter(com.sldeditor.filter.v2.function.FilterNameParameter)

Example 3 with FilterNameParameter

use of com.sldeditor.filter.v2.function.FilterNameParameter in project sldeditor by robward-scisys.

the class Crosses method getFilterConfiguration.

/**
 * Gets the filter configuration.
 *
 * @return the filter configuration
 */
@Override
public FilterName getFilterConfiguration() {
    FilterName filterName = new FilterName("Crosses", Boolean.class);
    filterName.addParameter(new FilterNameParameter("property", ExpressionTypeEnum.PROPERTY, Geometry.class));
    filterName.addParameter(new FilterNameParameter("expression", ExpressionTypeEnum.EXPRESSION, Geometry.class));
    return filterName;
}
Also used : Geometry(org.locationtech.jts.geom.Geometry) FilterName(com.sldeditor.filter.v2.function.FilterName) FilterNameParameter(com.sldeditor.filter.v2.function.FilterNameParameter)

Example 4 with FilterNameParameter

use of com.sldeditor.filter.v2.function.FilterNameParameter in project sldeditor by robward-scisys.

the class Equals method getFilterConfiguration.

/**
 * Gets the filter configuration.
 *
 * @return the filter configuration
 */
@Override
public FilterName getFilterConfiguration() {
    FilterName filterName = new FilterName("Equals", Boolean.class);
    filterName.addParameter(new FilterNameParameter("property", ExpressionTypeEnum.PROPERTY, Geometry.class));
    filterName.addParameter(new FilterNameParameter("expression", ExpressionTypeEnum.EXPRESSION, Geometry.class));
    return filterName;
}
Also used : Geometry(org.locationtech.jts.geom.Geometry) FilterName(com.sldeditor.filter.v2.function.FilterName) FilterNameParameter(com.sldeditor.filter.v2.function.FilterNameParameter)

Example 5 with FilterNameParameter

use of com.sldeditor.filter.v2.function.FilterNameParameter in project sldeditor by robward-scisys.

the class Within method getFilterConfiguration.

/**
 * Gets the filter configuration.
 *
 * @return the filter configuration
 */
@Override
public FilterName getFilterConfiguration() {
    FilterName filterName = new FilterName("Within", Boolean.class);
    filterName.addParameter(new FilterNameParameter("property", ExpressionTypeEnum.PROPERTY, Geometry.class));
    filterName.addParameter(new FilterNameParameter("expression", ExpressionTypeEnum.EXPRESSION, Geometry.class));
    return filterName;
}
Also used : Geometry(org.locationtech.jts.geom.Geometry) FilterName(com.sldeditor.filter.v2.function.FilterName) FilterNameParameter(com.sldeditor.filter.v2.function.FilterNameParameter)

Aggregations

FilterName (com.sldeditor.filter.v2.function.FilterName)40 FilterNameParameter (com.sldeditor.filter.v2.function.FilterNameParameter)40 Date (java.util.Date)13 Geometry (org.locationtech.jts.geom.Geometry)10 Filter (org.opengis.filter.Filter)3 FilterConfigInterface (com.sldeditor.filter.v2.function.FilterConfigInterface)2 Test (org.junit.jupiter.api.Test)2 BoundingBox (org.opengis.geometry.BoundingBox)1