Examples of layerFeatureConstraints()


Examples of org.geotools.styling.NamedLayer.layerFeatureConstraints()

        layer.setName(name);
        List<FeatureTypeConstraint> list = new ArrayList<FeatureTypeConstraint>();
        for (FeatureTypeConstraintBuilder constraint : featureTypeConstraint) {
            list.add(constraint.build());
        }
        layer.layerFeatureConstraints().addAll(list);
        for (StyleBuilder sb : styles) {
            layer.addStyle(sb.build());
        }

        if (parent == null) {
View Full Code Here

Examples of org.geotools.styling.UserLayer.layerFeatureConstraints()

        layer.setName("layer");

        FeatureTypeConstraint constraint = sf.createFeatureTypeConstraint("Feature",
                Filter.INCLUDE, null);

        layer.layerFeatureConstraints().add(constraint);

        Style style = sf.createStyle();

        style.getDescription().setTitle("Style");
        style.getDescription().setAbstract("Definition of Style");
View Full Code Here

Examples of org.geotools.styling.UserLayer.layerFeatureConstraints()

    //
    // define constraint limited what features the sld applies to
    FeatureTypeConstraint constraint = sf.createFeatureTypeConstraint("Feature", Filter.INCLUDE,
            null);
   
    layer.layerFeatureConstraints().add(constraint);
   
    //
    // create a "user defined" style
    Style style = sf.createStyle();
    style.setName("style");
View Full Code Here

Examples of org.geotools.styling.UserLayer.layerFeatureConstraints()

    layer.setName("layer");
   
    FeatureTypeConstraint constraint = styleFactory.createFeatureTypeConstraint("Feature",
            Filter.INCLUDE, null);
   
    layer.layerFeatureConstraints().add(constraint);
   
    Style style = styleFactory.createStyle();
   
    style.getDescription().setTitle("Style");
    style.getDescription().setAbstract("Definition of Style");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.