Class GISEditorUtilities


  • public class GISEditorUtilities
    extends Object
    Deprecated.
    2D piccolo based code is being removed
    Utility methods for GIS editor classes.
    Author:
    Nick Collier
    • Constructor Detail

      • GISEditorUtilities

        public GISEditorUtilities()
        Deprecated.
    • Method Detail

      • calcPointPickBuffer

        public static double calcPointPickBuffer​(org.locationtech.jts.geom.Coordinate coordinate,
                                                 org.opengis.referencing.crs.CoordinateReferenceSystem crs,
                                                 double metersPerPixel)
        Deprecated.
        Calculates the buffer value to supply to Point.buffer() that will approximate an 8x8 pixel area.
        Parameters:
        coordinate - the picked coordinate
        crs - the current CRS
        metersPerPixel - the number of meters per pixel
        Returns:
        the buffer value to supply to Point.buffer() that will approximate an 8x8 pixel area.