Package org.opengis.style

Examples of org.opengis.style.PointSymbolizer


    AnchorPoint anchor = null; // use default
    Displacement displacement = null; // use default
   
    // define a point symbolizer of a small circle
    Graphic circle = sf.graphic(symbols, opacity, size, rotation, anchor, displacement);
    PointSymbolizer pointSymbolizer = sf.pointSymbolizer("point", ff.property("the_geom"), null,
            null, circle);
    // styleFactoryExample end
}
View Full Code Here


public class RountTripLocalUomTest extends SETestSupport {

    @Test
    public void testRoundTripPoint() throws Exception {
        PointSymbolizer sym = (PointSymbolizer) parse("example-pointsymbolizer-local-uom.xml");
        assertEquals(NonSI.PIXEL, sym.getUnitOfMeasure());
        assertEquals("8m", sym.getGraphic().getSize().evaluate(null, String.class));
        Document doc = encode(sym, SE.PointSymbolizer);
        // print(doc);
        // what... nothing getting encoded??
    }
View Full Code Here

TOP

Related Classes of org.opengis.style.PointSymbolizer

Copyright © 2018 www.massapicom. 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.