Skip to content

RasterVB

sindizzy edited this page Dec 30, 2020 · 4 revisions

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

Clone this wiki locally