RasterVB - sindizzy/DSW GitHub Wiki

Sample code that demonstrates how to open a BGD Raster

Imports DotSpatial.Data

Private Sub button1_Click(sender As Object, e As EventArgs)
	Dim r As New Raster()
	r.Open("C:\Temp\iron.bgd")
	r.Projection.Open("C:\Temp\iron.prj")
	r.GetStatistics()
	Dim value As Double = r.Maximum
End Sub