// Set the user visible projected CS name func (sr SpatialReference) SetProjectedCS(name string) error { cName := C.CString(name) defer C.free(unsafe.Pointer(cName)) err := C.OSRSetProjCS(sr.cval, cName) if err != 0 { return error(err) } return nil }
// Set the user visible projected CS name func (sr SpatialReference) SetProjectedCS(name string) error { cName := C.CString(name) defer C.free(unsafe.Pointer(cName)) return C.OSRSetProjCS(sr.cval, cName).Err() }