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