Package org.geotools.geometry.jts.spatialschema

Examples of org.geotools.geometry.jts.spatialschema.PositionFactoryImpl.createDirectPosition()


  public void testNewFactoryPointHere() {
    PositionFactory gFact = new PositionFactoryImpl(
        DefaultGeographicCRS.WGS84);
    double[] ords = { 48.44, -123.37 };
    DirectPosition here = gFact.createDirectPosition(ords);

    Point point = new PointImpl(here);
    assertNotNull(point.getCoordinateReferenceSystem());
    assertEquals(here.getCoordinateReferenceSystem(), point
        .getCoordinateReferenceSystem());
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.