rpc
This commit is contained in:
@@ -51,6 +51,7 @@ func (d *Dem1Km) Load() error {
|
||||
d.hUnit = 180.0 / float32(structure.SizeY)
|
||||
d.width = structure.SizeX
|
||||
d.height = structure.SizeY
|
||||
hDataset.Close()
|
||||
|
||||
return nil
|
||||
}
|
||||
@@ -97,5 +98,6 @@ func (d *Dem1Km) MinMaxElevationInRect(lng1, lat1, lng2, lat2 float64) (float64,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return minElev, maxElev
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user