Package org.geotools.styling

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


    //
    // 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

    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.