public Envelope getBounds ( ) throws Exception { checkMetadata ( ) ; String boundsWSEN = metadataMap . get ( "bounds" ) ; String [ ] split = boundsWSEN . split ( "," ) ; double w = Double . parseDouble ( split [ 0 ] ) ; double s = Double . parseDouble ( split [ 1 ] ) ; double e = Double . parseDouble ( split [ 2 ] ) ; double n = Double . parseDouble ( split [ 3 ] ) ; return new Envelope ( w , e , s , n ) ; }
Get the db envelope .