Class EnvelopeAdapter


  • public class EnvelopeAdapter
    extends Object
    Converts an Envelope to a Polygon
    • Method Detail

      • toPolygon

        public static com.vividsolutions.jts.geom.Polygon toPolygon​(com.vividsolutions.jts.geom.Envelope env,
                                                                    int srid)
        Converts the specified Envelope to a Polygon having the specified srid.
        Parameters:
        env - The envelope to convert
        srid - The srid for the polygon
        Returns:
        The Polygon
      • setGeometryFactory

        public static void setGeometryFactory​(com.vividsolutions.jts.geom.GeometryFactory gf)