public static BoundingBox fromString ( String boundingBoxString ) { double [ ] coordinates = LatLongUtils . parseCoordinateString ( boundingBoxString , 4 ) ; return new BoundingBox ( coordinates [ 0 ] , coordinates [ 1 ] , coordinates [ 2 ] , coordinates [ 3 ] ) ; }
Creates a new BoundingBox from a comma - separated string of coordinates in the order minLat minLon maxLat maxLon . All coordinate values must be in degrees .