예제 #1
0
파일: ogr.go 프로젝트: colek42/gdal
// Fetch the number of layers in this data source
func (ds DataSource) LayerCount() int {
	count := C.OGR_DS_GetLayerCount(ds.cval)
	return int(count)
}
예제 #2
0
파일: gdal.go 프로젝트: helmi03/gdal
func (dataset Dataset) LayerCount() int {
	count := C.OGR_DS_GetLayerCount(dataset.cval)
	return int(count)
}