Package org.geotools.geometry

Examples of org.geotools.geometry.GeometryBuilder.createPoint()


      return ff.or(filters);
  }
 
  private static Filter getDistanceFilter(String propertyName, Coordinate coordinate, CoordinateReferenceSystem crs, FilterFactory2 ff) throws FactoryException {
    GeometryBuilder builder = new GeometryBuilder(crs);
    org.opengis.geometry.primitive.Point point = builder.createPoint(coordinate.x, coordinate.y, coordinate.z);
    Unit<?> unit_str = CRSUtilities.getUnit(crs.getCoordinateSystem());
    double unit = 0.00001;
    if(unit_str.getStandardUnit().isCompatible(SI.METER)) {
      unit = 1.11;
    }
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.