Exemple #1
0
// Fetch the number of layers in this data source
func (ds DataSource) LayerCount() int {
	count := C.OGR_DS_GetLayerCount(ds.cval)
	return int(count)
}
Exemple #2
0
func (dataset Dataset) LayerCount() int {
	count := C.OGR_DS_GetLayerCount(dataset.cval)
	return int(count)
}